diff options
author | non <non@FreeBSD.org> | 2000-10-30 12:21:19 +0000 |
---|---|---|
committer | non <non@FreeBSD.org> | 2000-10-30 12:21:19 +0000 |
commit | 5810e717b6699af708924ec0ee25a7e64c68c044 (patch) | |
tree | 9cdd9e0771993c9bdf929eda36dbf0b2a7ddb027 | |
parent | 4c8593424da973794cbb6b416c87a0314c30339e (diff) | |
download | FreeBSD-src-5810e717b6699af708924ec0ee25a7e64c68c044.zip FreeBSD-src-5810e717b6699af708924ec0ee25a7e64c68c044.tar.gz |
Remove unused #includes.
Submitted by: phk@FreeBSD.ORG
-rw-r--r-- | sys/cam/scsi/scsi_low.c | 9 | ||||
-rw-r--r-- | sys/cam/scsi/scsi_low_pisa.c | 13 |
2 files changed, 6 insertions, 16 deletions
diff --git a/sys/cam/scsi/scsi_low.c b/sys/cam/scsi/scsi_low.c index 1d0a01d..ef37b6c 100644 --- a/sys/cam/scsi/scsi_low.c +++ b/sys/cam/scsi/scsi_low.c @@ -56,7 +56,9 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#ifdef __NetBSD__ #include <sys/disklabel.h> +#endif #if defined(__FreeBSD__) && __FreeBSD_version >= 500001 #include <sys/bio.h> #endif @@ -66,15 +68,13 @@ #include <sys/device_port.h> #include <sys/errno.h> +#ifdef __NetBSD__ #include <vm/vm.h> #include <machine/bus.h> -#ifdef __NetBSD__ #include <machine/intr.h> -#endif #include <machine/dvcfg.h> -#ifdef __NetBSD__ #include <dev/cons.h> #include <dev/scsipi/scsipi_all.h> @@ -89,12 +89,10 @@ #include <cam/cam.h> #include <cam/cam_ccb.h> #include <cam/cam_sim.h> -#include <cam/cam_xpt_sim.h> #include <cam/cam_debug.h> #include <cam/cam_periph.h> #include <cam/scsi/scsi_all.h> -#include <cam/scsi/scsi_message.h> #include <cam/scsi/scsi_low.h> @@ -103,7 +101,6 @@ #else #include <sys/cons.h> #endif -#include <machine/clock.h> #define delay(time) DELAY(time) /* from sys/dev/usb/usb_port.h diff --git a/sys/cam/scsi/scsi_low_pisa.c b/sys/cam/scsi/scsi_low_pisa.c index b095a80..3918ffc 100644 --- a/sys/cam/scsi/scsi_low_pisa.c +++ b/sys/cam/scsi/scsi_low_pisa.c @@ -36,20 +36,18 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> +#ifdef __NetBSD__ #include <sys/disklabel.h> +#endif #if defined(__FreeBSD__) && __FreeBSD_version >= 500001 #include <sys/bio.h> #endif #include <sys/buf.h> #include <sys/queue.h> -#include <sys/malloc.h> #include <sys/device_port.h> -#include <sys/errno.h> -#include <vm/vm.h> - -#include <machine/bus.h> #ifdef __NetBSD__ +#include <machine/bus.h> #include <machine/intr.h> #endif @@ -58,11 +56,9 @@ #include <dev/isa/isavar.h> #include <dev/isa/pisaif.h> -#endif #include <machine/dvcfg.h> -#ifdef __NetBSD__ #include <dev/scsipi/scsi_all.h> #include <dev/scsipi/scsipi_all.h> #include <dev/scsipi/scsiconf.h> @@ -74,9 +70,6 @@ #define SCSIBUS_RESCAN #else #ifdef __FreeBSD__ -#include <i386/isa/isa_device.h> -#include <i386/isa/icu.h> - #include <cam/scsi/scsi_low.h> #include <cam/scsi/scsi_low_pisa.h> #endif |