summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2007-09-19 05:09:09 +0000
committerbrad <brad@openbsd.org>2007-09-19 05:09:09 +0000
commit0b50b41a1ae8f8c080d5b40b97337a23d1faa321 (patch)
tree278c4c3d4297301693724d0b0bc758286016cf92
parentex_start() is always called at splnet, so remove the unnecessary splnet. (diff)
downloadwireguard-openbsd-0b50b41a1ae8f8c080d5b40b97337a23d1faa321.tar.xz
wireguard-openbsd-0b50b41a1ae8f8c080d5b40b97337a23d1faa321.zip
don't need to wrap the code in #if NEX > 0
ok dlg@
-rw-r--r--sys/dev/isa/if_ex.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/isa/if_ex.c b/sys/dev/isa/if_ex.c
index 9a9911974bb..956a11efac4 100644
--- a/sys/dev/isa/if_ex.c
+++ b/sys/dev/isa/if_ex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ex.c,v 1.19 2007/09/19 04:52:15 brad Exp $ */
+/* $OpenBSD: if_ex.c,v 1.20 2007/09/19 05:09:09 brad Exp $ */
/*
* Copyright (c) 1997, Donald A. Schmidt
* Copyright (c) 1996, Javier Martín Rueda (jmrueda@diatel.upm.es)
@@ -35,8 +35,6 @@
* 30-Oct-1996: first beta version. Inet and BPF supported, but no multicast.
*/
-#include "ex.h"
-#if NEX > 0
#include "bpfilter.h"
#include <sys/param.h>
@@ -880,5 +878,3 @@ eeprom_read(struct ex_softc *sc, int location)
BANK_SEL(Bank0_Sel);
return(data);
}
-
-#endif /* NEX > 0 */