summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-11-18 13:03:48 +0000
committerbde <bde@FreeBSD.org>1997-11-18 13:03:48 +0000
commit04ec9f4541e358f1eb075a0359e22fff0998bd6d (patch)
tree2a839c48df29d97e2cd9ce84be655b54d236dfce /sys/kern
parentac8e352bef857ded5e90e17b152de53bf46bd578 (diff)
downloadFreeBSD-src-04ec9f4541e358f1eb075a0359e22fff0998bd6d.zip
FreeBSD-src-04ec9f4541e358f1eb075a0359e22fff0998bd6d.tar.gz
Removed an unused #include.
Fixed a style bug (one of many KNF breakages in vfs_subr.c moved here).
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_default.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c
index a8f685e..fbc121e 100644
--- a/sys/kern/vfs_default.c
+++ b/sys/kern/vfs_default.c
@@ -41,7 +41,6 @@
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
-#include <sys/mount.h>
#include <sys/unistd.h>
#include <sys/vnode.h>
#include <sys/poll.h>
@@ -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
}
OpenPOWER on IntegriCloud