Remove redundant variable.

This commit is contained in:
Pawel Jakub Dawidek 2013-08-17 14:09:46 +00:00
parent 5a04191532
commit 2c40899ecc

View File

@ -1799,12 +1799,10 @@ zfs_statfs(vfs_t *vfsp, struct statfs *statp)
int
zfs_vnode_lock(vnode_t *vp, int flags)
{
int error;
ASSERT(vp != NULL);
error = vn_lock(vp, flags);
return (error);
return (vn_lock(vp, flags));
}
static int