diff options
author | pjd <pjd@FreeBSD.org> | 2013-08-17 14:09:46 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2013-08-17 14:09:46 +0000 |
commit | 513bb80e7a5eade88d2991a48c503e3ddf3f1cc0 (patch) | |
tree | 652335326178fd3cf84fcd1f8ecf115b5c52848e | |
parent | 9b92a60da0c48d685e399236d99364486c8577a5 (diff) | |
download | FreeBSD-src-513bb80e7a5eade88d2991a48c503e3ddf3f1cc0.zip FreeBSD-src-513bb80e7a5eade88d2991a48c503e3ddf3f1cc0.tar.gz |
Remove redundant variable.
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c index 6e81205..d96c0af 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c @@ -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 |