diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c index a8f685efd27a..fbc121e13976 100644 --- a/sys/kern/vfs_default.c +++ b/sys/kern/vfs_default.c @@ -41,7 +41,6 @@ #include #include #include -#include #include #include #include @@ -375,9 +374,8 @@ vop_nolock(ap) * Since we are not using the lock manager, we must clear * the interlock here. */ - if (ap->a_flags & LK_INTERLOCK) { + if (ap->a_flags & LK_INTERLOCK) simple_unlock(&ap->a_vp->v_interlock); - } return (0); #endif }