svn commit: r281071 - head/sys/kern
Konstantin Belousov
kib at FreeBSD.org
Sat Apr 4 08:44:21 UTC 2015
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;
More information about the svn-src-all
mailing list