From c50cf4ac06ba3150111617bd13cad5d2b2e27a75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Schmidt?= Date: Wed, 20 Sep 2000 07:00:24 +0000 Subject: [PATCH] Remove unneeded includes Pointed out by: phk --- sys/dev/ata/ata-all.c | 2 -- sys/dev/ata/ata-disk.c | 3 --- sys/dev/ata/ata-dma.c | 3 +-- sys/dev/ata/atapi-all.c | 4 ++-- sys/dev/ata/atapi-cd.c | 1 - sys/dev/ata/atapi-fd.c | 1 - 6 files changed, 3 insertions(+), 11 deletions(-) diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c index d82ad669ce05..6f933122f1e1 100644 --- a/sys/dev/ata/ata-all.c +++ b/sys/dev/ata/ata-all.c @@ -49,8 +49,6 @@ #include #include #include -#include -#include #include #include #include diff --git a/sys/dev/ata/ata-disk.c b/sys/dev/ata/ata-disk.c index 4f12574eb170..aa97a6df3073 100644 --- a/sys/dev/ata/ata-disk.c +++ b/sys/dev/ata/ata-disk.c @@ -34,7 +34,6 @@ #include #include #include -#include #include #include #include @@ -44,8 +43,6 @@ #include #include #include -#include -#include #include #include #include diff --git a/sys/dev/ata/ata-dma.c b/sys/dev/ata/ata-dma.c index 763017d159a0..3385b6776609 100644 --- a/sys/dev/ata/ata-dma.c +++ b/sys/dev/ata/ata-dma.c @@ -41,9 +41,8 @@ #if NPCI > 0 #include #endif -#include -#include #include +#include #if NPCI > 0 diff --git a/sys/dev/ata/atapi-all.c b/sys/dev/ata/atapi-all.c index 8b034ff664e0..386a90e61117 100644 --- a/sys/dev/ata/atapi-all.c +++ b/sys/dev/ata/atapi-all.c @@ -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 diff --git a/sys/dev/ata/atapi-cd.c b/sys/dev/ata/atapi-cd.c index 3efd1f4eefac..052ab3550efc 100644 --- a/sys/dev/ata/atapi-cd.c +++ b/sys/dev/ata/atapi-cd.c @@ -42,7 +42,6 @@ #include #include #include -#include #include #include #include diff --git a/sys/dev/ata/atapi-fd.c b/sys/dev/ata/atapi-fd.c index fe2573b0eee9..3f985efa5a9b 100644 --- a/sys/dev/ata/atapi-fd.c +++ b/sys/dev/ata/atapi-fd.c @@ -31,7 +31,6 @@ #include #include #include -#include #include #include #include