Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Apr 2015 07:08:36 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r281194 - stable/10/sys/kern
Message-ID:  <201504070708.t3778abn048519@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Tue Apr  7 07:08:35 2015
New Revision: 281194
URL: https://svnweb.freebsd.org/changeset/base/281194

Log:
  MFC r281071:
  Remove useless initialization.

Modified:
  stable/10/sys/kern/sysv_shm.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/kern/sysv_shm.c
==============================================================================
--- stable/10/sys/kern/sysv_shm.c	Tue Apr  7 06:25:29 2015	(r281193)
+++ stable/10/sys/kern/sysv_shm.c	Tue Apr  7 07:08:35 2015	(r281194)
@@ -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?201504070708.t3778abn048519>