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.
This commit is contained in:
parent
68d6297bf7
commit
58d2fa7ace
@ -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 */
|
||||
|
@ -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 */
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user