summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-08-12 18:02:48 +0000
committerbde <bde@FreeBSD.org>1998-08-12 18:02:48 +0000
commit46511a93b070980a22d9552b16137c0de7cc75cf (patch)
tree909f9f27e0b20e641acb43e4e164d7fd72e8435a /sys/dev
parent8f2e632f8e6849466312b0b042ed5d185cb58749 (diff)
downloadFreeBSD-src-46511a93b070980a22d9552b16137c0de7cc75cf.zip
FreeBSD-src-46511a93b070980a22d9552b16137c0de7cc75cf.tar.gz
Removed unused includes.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/cs/if_cs.c26
-rw-r--r--sys/dev/ppbus/if_plip.c15
2 files changed, 2 insertions, 39 deletions
diff --git a/sys/dev/cs/if_cs.c b/sys/dev/cs/if_cs.c
index a9dc78d..3e5520c 100644
--- a/sys/dev/cs/if_cs.c
+++ b/sys/dev/cs/if_cs.c
@@ -27,7 +27,7 @@
*/
/*
- * $Id: if_cs.c,v 1.7 1998/07/19 16:01:23 root Exp root $
+ * $Id: if_cs.c,v 1.1 1998/07/20 20:00:42 msmith Exp $
*
* Device driver for Crystal Semiconductor CS8920 based ethernet
* adapters. By Maxim Bolotin and Oleg Sharoiko, 27-April-1997
@@ -48,40 +48,16 @@
#include <net/if.h>
#include <net/if_arp.h>
-#include <net/if_dl.h>
-#include <net/if_mib.h>
#include <net/if_media.h>
-#include <net/if_types.h>
#include <net/ethernet.h>
-#ifdef INET
-#include <netinet/in.h>
-#include <netinet/in_systm.h>
-#include <netinet/in_var.h>
-#include <netinet/ip.h>
-#include <netinet/if_ether.h>
-#endif
-
-#ifdef IPX
-#include <netipx/ipx.h>
-#include <netipx/ipx_if.h>
-#endif
-
-#ifdef NS
-#include <netns/ns.h>
-#include <netns/ns_if.h>
-#endif
-
#if NBPFILTER > 0
#include <net/bpf.h>
-#include <net/bpfdesc.h>
#endif
#include <machine/clock.h>
-#include <machine/md_var.h>
#include <i386/isa/isa_device.h>
-#include <i386/isa/icu.h>
#include <i386/isa/if_csreg.h>
#include "pnp.h"
diff --git a/sys/dev/ppbus/if_plip.c b/sys/dev/ppbus/if_plip.c
index b25abfc..3308f5a 100644
--- a/sys/dev/ppbus/if_plip.c
+++ b/sys/dev/ppbus/if_plip.c
@@ -24,7 +24,7 @@
* SUCH DAMAGE.
*
* From Id: lpt.c,v 1.55.2.1 1996/11/12 09:08:38 phk Exp
- * $Id$
+ * $Id: if_plip.c,v 1.1 1998/08/03 19:14:31 msmith Exp $
*/
/*
@@ -78,37 +78,24 @@
* Update for ppbus, PLIP support only - Nicolas Souchu
*/
-#ifdef KERNEL
#include <sys/param.h>
#include <sys/systm.h>
-#include <sys/proc.h>
#include <sys/mbuf.h>
#include <sys/socket.h>
-#include <sys/filio.h>
#include <sys/sockio.h>
#include <sys/kernel.h>
-#include <sys/time.h>
#include <sys/malloc.h>
#include <net/if.h>
#include <net/if_types.h>
#include <net/netisr.h>
-#endif /* KERNEL */
-#include <sys/mbuf.h>
-#include <sys/socket.h>
-#include <net/netisr.h>
-#include <net/route.h>
#include <netinet/in.h>
-#include <netinet/in_systm.h>
#include <netinet/in_var.h>
-#include <netinet/ip.h>
-#include <netinet/if_ether.h>
#include "bpfilter.h"
#if NBPFILTER > 0
#include <net/bpf.h>
-#include <net/bpfdesc.h>
#endif
#include <dev/ppbus/ppbconf.h>
OpenPOWER on IntegriCloud