Author: kib
Date: Sat Apr  4 08:44:20 2015
New Revision: 281071
URL: https://svnweb.freebsd.org/changeset/base/281071

Log:
  Remove useless initialization.
  
  Sponsored by: The FreeBSD Foundation
  MFC after:    3 days

Modified:
  head/sys/kern/sysv_shm.c

Modified: head/sys/kern/sysv_shm.c
==============================================================================
--- head/sys/kern/sysv_shm.c    Sat Apr  4 08:41:02 2015        (r281070)
+++ head/sys/kern/sysv_shm.c    Sat Apr  4 08:44:20 2015        (r281071)
@@ -327,7 +327,7 @@ kern_shmat_locked(struct thread *td, int
 {
        struct proc *p = td->td_proc;
        struct shmid_kernel *shmseg;
-       struct shmmap_state *shmmap_s = NULL;
+       struct shmmap_state *shmmap_s;
        vm_offset_t attach_va;
        vm_prot_t prot;
        vm_size_t size;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to