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

This commit is contained in:
pjd 2013-01-31 22:12:48 +00:00
parent 43d0e15091
commit 36392a26c9

View File

@ -1683,10 +1683,8 @@ vfs_write_resume(struct mount *mp, int flags)
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));
}
/*