Date: Sat, 4 Apr 2015 08:44:21 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r281071 - head/sys/kern Message-ID: <201504040844.t348iLhE017379@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504040844.t348iLhE017379>