summaryrefslogtreecommitdiffstats
path: root/sys/dev/en
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-01-29 14:38:04 +0000
committerpeter <peter@FreeBSD.org>2000-01-29 14:38:04 +0000
commitef55d4b61be5c95be9d426159a18829b20f43ad4 (patch)
tree9c2c47df7aae43ae739460e8eb0ca306ae693c89 /sys/dev/en
parent2fb5b3a05327df299389e12301cc77de980b8971 (diff)
downloadFreeBSD-src-ef55d4b61be5c95be9d426159a18829b20f43ad4.zip
FreeBSD-src-ef55d4b61be5c95be9d426159a18829b20f43ad4.tar.gz
Remove #if NEN > 0 in the name of FreeBSD - it's not required as config
only compiles this file if it's true. NEN is still used though. :-(
Diffstat (limited to 'sys/dev/en')
-rw-r--r--sys/dev/en/midway.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/en/midway.c b/sys/dev/en/midway.c
index c6797f4..410d2f3 100644
--- a/sys/dev/en/midway.c
+++ b/sys/dev/en/midway.c
@@ -108,7 +108,7 @@
#endif /* EN_DEBUG */
#ifdef __FreeBSD__
-#include "en.h"
+#include "en.h" /* XXX for midwayvar.h's NEN */
#include "opt_inet.h"
#include "opt_natm.h"
#include "opt_ddb.h"
@@ -119,8 +119,6 @@
#endif
#endif
-#if NEN > 0 || !defined(__FreeBSD__)
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/queue.h>
@@ -3446,5 +3444,3 @@ int unit, addr, len;
return(0);
}
#endif
-
-#endif /* NEN > 0 || !defined(__FreeBSD__) */
OpenPOWER on IntegriCloud