Date: Mon, 20 Apr 2015 17:36:44 +0000 (UTC) From: Alan Cox <alc@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: r281776 - stable/10/sys/vm Message-ID: <201504201736.t3KHairb083580@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: alc Date: Mon Apr 20 17:36:43 2015 New Revision: 281776 URL: https://svnweb.freebsd.org/changeset/base/281776 Log: MFC r279400 Eliminate a variable that became unused when VFS_LOCK_GIANT() was eliminated. Modified: stable/10/sys/vm/vm_mmap.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/vm/vm_mmap.c ============================================================================== --- stable/10/sys/vm/vm_mmap.c Mon Apr 20 17:36:35 2015 (r281775) +++ stable/10/sys/vm/vm_mmap.c Mon Apr 20 17:36:43 2015 (r281776) @@ -1293,11 +1293,9 @@ vm_mmap_vnode(struct thread *td, vm_size struct vattr va; vm_object_t obj; vm_offset_t foff; - struct mount *mp; struct ucred *cred; int error, flags, locktype; - mp = vp->v_mount; cred = td->td_ucred; if ((*maxprotp & VM_PROT_WRITE) && (*flagsp & MAP_SHARED)) locktype = LK_EXCLUSIVE;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504201736.t3KHairb083580>