Remove unneeded includes

Pointed out by: phk
This commit is contained in:
Søren Schmidt 2000-09-20 07:00:24 +00:00
parent f241969910
commit c50cf4ac06
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=66106
6 changed files with 3 additions and 11 deletions

View file

@ -49,8 +49,6 @@
#include <sys/devicestat.h>
#include <sys/sysctl.h>
#include <machine/stdarg.h>
#include <vm/vm.h>
#include <vm/pmap.h>
#include <machine/resource.h>
#include <machine/bus.h>
#include <sys/rman.h>

View file

@ -34,7 +34,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/malloc.h>
#include <sys/bio.h>
#include <sys/bus.h>
@ -44,8 +43,6 @@
#include <sys/cons.h>
#include <vm/vm.h>
#include <vm/pmap.h>
#include <vm/vm_page.h>
#include <vm/vm_object.h>
#include <machine/clock.h>
#include <machine/md_var.h>
#include <machine/bus.h>

View file

@ -41,9 +41,8 @@
#if NPCI > 0
#include <pci/pcivar.h>
#endif
#include <dev/ata/ata-all.h>
#include <dev/ata/ata-disk.h>
#include <machine/bus.h>
#include <dev/ata/ata-all.h>
#if NPCI > 0

View file

@ -376,8 +376,8 @@ atapi_interrupt(struct atapi_request *request)
atapi_write(request, length);
/* FALLTHROUGH */
case ATAPI_P_ABORT:
case ATAPI_P_DONE:
case ATAPI_P_ABORT:
case ATAPI_P_DONE:
if (atp->controller->status & (ATA_S_ERROR | ATA_S_DWF))
request->result = inb(atp->controller->ioaddr + ATA_ERROR);
else

View file

@ -42,7 +42,6 @@
#include <sys/dvdio.h>
#include <sys/fcntl.h>
#include <sys/conf.h>
#include <sys/stat.h>
#include <sys/ctype.h>
#include <dev/ata/ata-all.h>
#include <dev/ata/atapi-all.h>

View file

@ -31,7 +31,6 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/malloc.h>
#include <sys/bio.h>
#include <sys/bus.h>