diff options
author | peter <peter@FreeBSD.org> | 1999-10-11 14:53:46 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-10-11 14:53:46 +0000 |
commit | 58d2fa7ace10f20b7e6ed475dffa2d1b0211ed9a (patch) | |
tree | 55584a4154b0f8ad8a605a1c1ed8cf1e00000d17 /sys | |
parent | 68d6297bf799ed7aed54af300ed8bcce0606fdc2 (diff) | |
download | FreeBSD-src-58d2fa7ace10f20b7e6ed475dffa2d1b0211ed9a.zip FreeBSD-src-58d2fa7ace10f20b7e6ed475dffa2d1b0211ed9a.tar.gz |
Zap unneeded #include (found by phk)
Remove useless #include "joy.h"; #if NJOY > 0 - this is always true
if it's being compiled. config arranges this.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/joy/joy.c | 6 | ||||
-rw-r--r-- | sys/i386/isa/joy.c | 6 | ||||
-rw-r--r-- | sys/isa/joy.c | 6 |
3 files changed, 0 insertions, 18 deletions
diff --git a/sys/dev/joy/joy.c b/sys/dev/joy/joy.c index 5d23958..0722cdc 100644 --- a/sys/dev/joy/joy.c +++ b/sys/dev/joy/joy.c @@ -28,13 +28,10 @@ * $FreeBSD$ * */ -#include "joy.h" -#if NJOY > 0 #include <sys/param.h> #include <sys/systm.h> #include <sys/conf.h> -#include <sys/kernel.h> #include <sys/uio.h> #include <machine/clock.h> @@ -284,6 +281,3 @@ joy_mod (struct lkm_table *lkmtp, int cmd, int ver) } #endif /* JOY_MODULE */ - - -#endif /* NJOY > 0 */ diff --git a/sys/i386/isa/joy.c b/sys/i386/isa/joy.c index 5d23958..0722cdc 100644 --- a/sys/i386/isa/joy.c +++ b/sys/i386/isa/joy.c @@ -28,13 +28,10 @@ * $FreeBSD$ * */ -#include "joy.h" -#if NJOY > 0 #include <sys/param.h> #include <sys/systm.h> #include <sys/conf.h> -#include <sys/kernel.h> #include <sys/uio.h> #include <machine/clock.h> @@ -284,6 +281,3 @@ joy_mod (struct lkm_table *lkmtp, int cmd, int ver) } #endif /* JOY_MODULE */ - - -#endif /* NJOY > 0 */ diff --git a/sys/isa/joy.c b/sys/isa/joy.c index 5d23958..0722cdc 100644 --- a/sys/isa/joy.c +++ b/sys/isa/joy.c @@ -28,13 +28,10 @@ * $FreeBSD$ * */ -#include "joy.h" -#if NJOY > 0 #include <sys/param.h> #include <sys/systm.h> #include <sys/conf.h> -#include <sys/kernel.h> #include <sys/uio.h> #include <machine/clock.h> @@ -284,6 +281,3 @@ joy_mod (struct lkm_table *lkmtp, int cmd, int ver) } #endif /* JOY_MODULE */ - - -#endif /* NJOY > 0 */ |