Remove redundant variable.
This commit is contained in:
parent
5a04191532
commit
2c40899ecc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user