summaryrefslogtreecommitdiffstats
path: root/sys/dev/snc
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-10-31 08:22:26 +0000
committerphk <phk@FreeBSD.org>2000-10-31 08:22:26 +0000
commit8b99bd0a7d627896844911682386eb0a1a52c169 (patch)
tree0312f261475f15d3573106822e9788876dcd76e7 /sys/dev/snc
parentfc137b0cb669f4c2c6073f6092445e7a94eb4dbd (diff)
downloadFreeBSD-src-8b99bd0a7d627896844911682386eb0a1a52c169.zip
FreeBSD-src-8b99bd0a7d627896844911682386eb0a1a52c169.tar.gz
Remove unused #includes.
Approved by: nyan
Diffstat (limited to 'sys/dev/snc')
-rw-r--r--sys/dev/snc/dp83932.c9
-rw-r--r--sys/dev/snc/dp83932subr.c9
-rw-r--r--sys/dev/snc/if_snc.c8
-rw-r--r--sys/dev/snc/if_snc_cbus.c5
-rw-r--r--sys/dev/snc/if_snc_pccard.c4
5 files changed, 0 insertions, 35 deletions
diff --git a/sys/dev/snc/dp83932.c b/sys/dev/snc/dp83932.c
index a27a332..9ccab41 100644
--- a/sys/dev/snc/dp83932.c
+++ b/sys/dev/snc/dp83932.c
@@ -78,18 +78,9 @@
#include <net/if.h>
#include <net/if_arp.h>
#include <net/if_dl.h>
-#include <net/if_types.h>
#include <net/if_media.h>
-#ifdef INET
-#include <netinet/in.h>
-#include <netinet/in_systm.h>
-#include <netinet/in_var.h>
-#include <netinet/ip.h>
-#endif
-
#include <net/bpf.h>
-#include <net/bpfdesc.h>
#include <sys/bus.h>
#include <machine/bus.h>
diff --git a/sys/dev/snc/dp83932subr.c b/sys/dev/snc/dp83932subr.c
index 0076f96..5de5bf0 100644
--- a/sys/dev/snc/dp83932subr.c
+++ b/sys/dev/snc/dp83932subr.c
@@ -46,17 +46,12 @@
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/mbuf.h>
#include <sys/protosw.h>
#include <sys/socket.h>
-#include <sys/syslog.h>
-#include <sys/errno.h>
#include <net/ethernet.h>
#include <net/if.h>
#include <net/if_arp.h>
-#include <net/if_dl.h>
-#include <net/if_types.h>
#include <net/if_media.h>
#ifdef INET
@@ -67,12 +62,8 @@
#include <netinet/if_inarp.h>
#endif
-#include <net/bpf.h>
#include <sys/bus.h>
-#include <machine/cpu.h>
-#include <machine/bus_pio.h>
-#include <machine/bus_memio.h>
#include <machine/bus.h>
#include <dev/snc/dp83932reg.h>
diff --git a/sys/dev/snc/if_snc.c b/sys/dev/snc/if_snc.c
index 810ec1a..5ce7325 100644
--- a/sys/dev/snc/if_snc.c
+++ b/sys/dev/snc/if_snc.c
@@ -35,13 +35,8 @@
*/
#include <sys/param.h>
-#include <sys/systm.h>
-#include <sys/sockio.h>
-#include <sys/mbuf.h>
#include <sys/socket.h>
-#include <sys/syslog.h>
-#include <sys/module.h>
#include <sys/bus.h>
#include <machine/bus.h>
#include <sys/rman.h>
@@ -51,10 +46,7 @@
#include <net/if.h>
#include <net/if_arp.h>
#include <net/if_media.h>
-#include <net/if_dl.h>
-#include <net/if_mib.h>
-#include <net/bpf.h>
#include "opt_bdg.h"
#ifdef BRIDGE
#include <net/bridge.h>
diff --git a/sys/dev/snc/if_snc_cbus.c b/sys/dev/snc/if_snc_cbus.c
index 6575269..1fc542b 100644
--- a/sys/dev/snc/if_snc_cbus.c
+++ b/sys/dev/snc/if_snc_cbus.c
@@ -42,22 +42,17 @@
#include <sys/module.h>
#include <sys/bus.h>
#include <machine/bus.h>
-#include <sys/rman.h>
#include <machine/resource.h>
-#include <net/ethernet.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <net/if_media.h>
-#include <net/if_mib.h>
#include <isa/isavar.h>
-#include <isa/pnpvar.h>
#include <sys/malloc.h> /* as dependency for isa/isa_common.h */
#include <isa/isa_common.h> /* for snc_isapnp_reconfig() */
#include <dev/snc/dp83932var.h>
-#include <dev/snc/dp83932subr.h>
#include <dev/snc/if_sncreg.h>
#include <dev/snc/if_sncvar.h>
diff --git a/sys/dev/snc/if_snc_pccard.c b/sys/dev/snc/if_snc_pccard.c
index 4a396d4..4c9b923 100644
--- a/sys/dev/snc/if_snc_pccard.c
+++ b/sys/dev/snc/if_snc_pccard.c
@@ -44,16 +44,12 @@
#include <sys/bus.h>
#include <machine/bus.h>
-#include <net/ethernet.h>
#include <net/if.h>
#include <net/if_arp.h>
#include <net/if_media.h>
-#include <net/if_mib.h>
-#include <dev/pccard/pccardvar.h>
#include <dev/snc/dp83932var.h>
-#include <dev/snc/dp83932reg.h>
#include <dev/snc/if_sncvar.h>
#include <dev/snc/if_sncreg.h>
OpenPOWER on IntegriCloud