summaryrefslogtreecommitdiffstats
path: root/sys/dev/eisa
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2010-11-18 21:15:13 +0000
committermiod <miod@openbsd.org>2010-11-18 21:15:13 +0000
commitbc78e6577d23f89fbc930e978910cfbad5de0bb8 (patch)
treed1b8af216a7a90d4ba9f627c331264bdc7fac04d /sys/dev/eisa
parentDo not #include <sys/dkstat.h> if you don't need anything from it. (diff)
downloadwireguard-openbsd-bc78e6577d23f89fbc930e978910cfbad5de0bb8.tar.xz
wireguard-openbsd-bc78e6577d23f89fbc930e978910cfbad5de0bb8.zip
Don't
#include "foo.h" #if NFOO > 0 (whole file) #endif since config(8) file inclusion rules already do it for you. ok deraadt@
Diffstat (limited to 'sys/dev/eisa')
-rw-r--r--sys/dev/eisa/ahc_eisa.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/eisa/ahc_eisa.c b/sys/dev/eisa/ahc_eisa.c
index 0226d074a89..393954d723a 100644
--- a/sys/dev/eisa/ahc_eisa.c
+++ b/sys/dev/eisa/ahc_eisa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ahc_eisa.c,v 1.19 2009/03/29 21:53:52 sthen Exp $ */
+/* $OpenBSD: ahc_eisa.c,v 1.20 2010/11/18 21:15:15 miod Exp $ */
/* $NetBSD: ahc_eisa.c,v 1.10 1996/10/21 22:30:58 thorpej Exp $ */
/*
@@ -32,12 +32,9 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ahc_eisa.c,v 1.19 2009/03/29 21:53:52 sthen Exp $
+ * $Id: ahc_eisa.c,v 1.20 2010/11/18 21:15:15 miod Exp $
*/
-#include "eisa.h"
-#if NEISA > 0
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
@@ -327,4 +324,3 @@ void *aux;
ahc_attach(ahc);
}
-#endif /* NEISA > 0 */