Date: Sat, 17 Aug 2013 14:09:46 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r254445 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs Message-ID: <201308171409.r7HE9kkF056517@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308171409.r7HE9kkF056517>