svn commit: r254445 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Pawel Jakub Dawidek
pjd at FreeBSD.org
Sat Aug 17 14:09:47 UTC 2013
Author: pjd
Date: Sat Aug 17 14:09:46 2013
New Revision: 254445
URL: http://svnweb.freebsd.org/changeset/base/254445
Log:
Remove redundant variable.
Modified:
head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
==============================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c Sat Aug 17 08:31:34 2013 (r254444)
+++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c Sat Aug 17 14:09:46 2013 (r254445)
@@ -1799,12 +1799,10 @@ zfs_statfs(vfs_t *vfsp, struct statfs *s
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
More information about the svn-src-all
mailing list