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; _______________________________________________ svn-src-stable-10@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10 To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"