Date: Sat, 28 Feb 2015 19:11:38 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r279400 - head/sys/vm Message-ID: <201502281911.t1SJBcMH033534@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: alc Date: Sat Feb 28 19:11:37 2015 New Revision: 279400 URL: https://svnweb.freebsd.org/changeset/base/279400 Log: Eliminate a variable that became unused when VFS_LOCK_GIANT() was eliminated. MFC after: 3 days Modified: head/sys/vm/vm_mmap.c Modified: head/sys/vm/vm_mmap.c ============================================================================== --- head/sys/vm/vm_mmap.c Sat Feb 28 19:02:44 2015 (r279399) +++ head/sys/vm/vm_mmap.c Sat Feb 28 19:11:37 2015 (r279400) @@ -1317,11 +1317,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?201502281911.t1SJBcMH033534>