diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-10-31 09:45:28 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-10-31 09:45:28 +0000 |
commit | 9959f5790456d84c75346cc71611363b0e3019a7 (patch) | |
tree | 170098b1e27e809bfbad6b90e27a0230dffc908c /sys/dev/ic | |
parent | b02a8456c13f201440d5714078b3007e4c4d4a74 (diff) |
remove unused and uneeded includes under NCY_ISA > 0 and NCY_PCI > 0
where cy.h is not included.
discovered with a script from guenther@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/cy.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/dev/ic/cy.c b/sys/dev/ic/cy.c index 7e3fa7a6f42..cba7c2f09c6 100644 --- a/sys/dev/ic/cy.c +++ b/sys/dev/ic/cy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cy.c,v 1.34 2014/09/14 14:17:24 jsg Exp $ */ +/* $OpenBSD: cy.c,v 1.35 2014/10/31 09:45:27 jsg Exp $ */ /* * Copyright (c) 1996 Timo Rossi. * All rights reserved. @@ -65,16 +65,6 @@ #include <machine/bus.h> #include <machine/intr.h> -#if NCY_ISA > 0 -#include <dev/isa/isavar.h> -#include <dev/isa/isareg.h> -#endif /* NCY_ISA > 0 */ -#if NCY_PCI > 0 -#include <dev/pci/pcivar.h> -#include <dev/pci/pcireg.h> -#include <dev/pci/pcidevs.h> -#endif /* NCY_PCI > 0 */ - #include <dev/ic/cd1400reg.h> #include <dev/ic/cyreg.h> |