1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Eliminate a variable that became unused when VFS_LOCK_GIANT() was

eliminated.

MFC after:	3 days
This commit is contained in:
Alan Cox 2015-02-28 19:11:37 +00:00
parent befcc3e26b
commit f81b73f3aa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=279400

View File

@ -1317,11 +1317,9 @@ vm_mmap_vnode(struct thread *td, vm_size_t objsize,
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;