[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-commits-all
Subject:    svn commit: r246169 - head/sys/kern
From:       Pawel Jakub Dawidek <pjd () FreeBSD ! org>
Date:       2013-01-31 22:12:48
Message-ID: 201301312212.r0VMCmrC047043 () svn ! freebsd ! org
[Download RAW message or body]

Author: pjd
Date: Thu Jan 31 22:12:48 2013
New Revision: 246169
URL: http://svnweb.freebsd.org/changeset/base/246169

Log:
  Simplify code a bit. This is leftover after Giant removal from VFS.

Modified:
  head/sys/kern/vfs_vnops.c

Modified: head/sys/kern/vfs_vnops.c
==============================================================================
--- head/sys/kern/vfs_vnops.c	Thu Jan 31 22:12:25 2013	(r246168)
+++ head/sys/kern/vfs_vnops.c	Thu Jan 31 22:12:48 2013	(r246169)
@@ -1683,10 +1683,8 @@ vfs_write_resume(struct mount *mp, int f
 static int
 vn_kqfilter(struct file *fp, struct knote *kn)
 {
-	int error;
 
-	error = VOP_KQFILTER(fp->f_vnode, kn);
-	return (error);
+	return (VOP_KQFILTER(fp->f_vnode, kn));
 }
 
 /*
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic