Remove unneeded includes
Pointed out by: phk
This commit is contained in:
parent
f241969910
commit
c50cf4ac06
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user