From 78829dd9224b62e2092a681afaee1bda4d0cb93b Mon Sep 17 00:00:00 2001 From: Bartlomiej Zolnierkiewicz Date: Sat, 2 Feb 2008 19:56:33 +0100 Subject: [PATCH] ide: remove needless includes from PCI host drivers Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/ide/pci/aec62xx.c | 1 - drivers/ide/pci/alim15x3.c | 1 - drivers/ide/pci/amd74xx.c | 3 --- drivers/ide/pci/atiixp.c | 4 ---- drivers/ide/pci/cmd640.c | 4 ---- drivers/ide/pci/cmd64x.c | 1 - drivers/ide/pci/cs5520.c | 10 ---------- drivers/ide/pci/cs5530.c | 8 +------- drivers/ide/pci/cy82c693.c | 1 - drivers/ide/pci/delkin_cb.c | 5 ++--- drivers/ide/pci/generic.c | 7 ------- drivers/ide/pci/hpt34x.c | 7 ------- drivers/ide/pci/hpt366.c | 5 ----- drivers/ide/pci/it8213.c | 3 --- drivers/ide/pci/it821x.c | 3 --- drivers/ide/pci/jmicron.c | 3 --- drivers/ide/pci/ns87415.c | 4 ---- drivers/ide/pci/opti621.c | 5 ----- drivers/ide/pci/pdc202xx_new.c | 6 ------ drivers/ide/pci/pdc202xx_old.c | 5 ----- drivers/ide/pci/piix.c | 2 -- drivers/ide/pci/rz1000.c | 7 ------- drivers/ide/pci/sc1200.c | 8 +------- drivers/ide/pci/serverworks.c | 2 -- drivers/ide/pci/sgiioc4.c | 2 -- drivers/ide/pci/siimage.c | 1 - drivers/ide/pci/sis5513.c | 9 --------- drivers/ide/pci/sl82c105.c | 6 ------ drivers/ide/pci/slc90e66.c | 4 ---- drivers/ide/pci/triflex.c | 5 ----- drivers/ide/pci/trm290.c | 2 -- drivers/ide/pci/via82cxxx.c | 4 ---- 32 files changed, 4 insertions(+), 134 deletions(-) diff --git a/drivers/ide/pci/aec62xx.c b/drivers/ide/pci/aec62xx.c index ca302fcba3..cfb3265bc1 100644 --- a/drivers/ide/pci/aec62xx.c +++ b/drivers/ide/pci/aec62xx.c @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/ide/pci/alim15x3.c b/drivers/ide/pci/alim15x3.c index 91db990ab7..b3b6f514ce 100644 --- a/drivers/ide/pci/alim15x3.c +++ b/drivers/ide/pci/alim15x3.c @@ -31,7 +31,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/ide/pci/amd74xx.c b/drivers/ide/pci/amd74xx.c index d6d58d2171..2ef890ce80 100644 --- a/drivers/ide/pci/amd74xx.c +++ b/drivers/ide/pci/amd74xx.c @@ -17,12 +17,9 @@ #include #include -#include -#include #include #include #include -#include #include "ide-timing.h" diff --git a/drivers/ide/pci/atiixp.c b/drivers/ide/pci/atiixp.c index b84185b4b6..7e037c880c 100644 --- a/drivers/ide/pci/atiixp.c +++ b/drivers/ide/pci/atiixp.c @@ -6,15 +6,11 @@ #include #include #include -#include #include #include #include -#include #include -#include - #define ATIIXP_IDE_PIO_TIMING 0x40 #define ATIIXP_IDE_MDMA_TIMING 0x44 #define ATIIXP_IDE_PIO_CONTROL 0x48 diff --git a/drivers/ide/pci/cmd640.c b/drivers/ide/pci/cmd640.c index ea0cb500df..bd24dad3cf 100644 --- a/drivers/ide/pci/cmd640.c +++ b/drivers/ide/pci/cmd640.c @@ -103,10 +103,6 @@ #include #include #include -#include -#include -#include -#include #include #include #include diff --git a/drivers/ide/pci/cmd64x.c b/drivers/ide/pci/cmd64x.c index 181506340d..edabe6299e 100644 --- a/drivers/ide/pci/cmd64x.c +++ b/drivers/ide/pci/cmd64x.c @@ -13,7 +13,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/ide/pci/cs5520.c b/drivers/ide/pci/cs5520.c index 7935286666..0be1a82410 100644 --- a/drivers/ide/pci/cs5520.c +++ b/drivers/ide/pci/cs5520.c @@ -35,22 +35,12 @@ #include #include #include -#include -#include -#include -#include -#include #include - -#include #include #include #include #include -#include -#include - struct pio_clocks { int address; diff --git a/drivers/ide/pci/cs5530.c b/drivers/ide/pci/cs5530.c index 765aac397c..941a134482 100644 --- a/drivers/ide/pci/cs5530.c +++ b/drivers/ide/pci/cs5530.c @@ -15,18 +15,12 @@ #include #include #include -#include -#include -#include -#include -#include #include -#include #include #include #include + #include -#include /* * Here are the standard PIO mode 0-4 timings for each "format". diff --git a/drivers/ide/pci/cy82c693.c b/drivers/ide/pci/cy82c693.c index 50100ac877..724cbacf4e 100644 --- a/drivers/ide/pci/cy82c693.c +++ b/drivers/ide/pci/cy82c693.c @@ -45,7 +45,6 @@ #include #include #include -#include #include #include diff --git a/drivers/ide/pci/delkin_cb.c b/drivers/ide/pci/delkin_cb.c index 27e47fc971..3fdf5e5a6f 100644 --- a/drivers/ide/pci/delkin_cb.c +++ b/drivers/ide/pci/delkin_cb.c @@ -16,15 +16,14 @@ * License. See the file COPYING in the main directory of this archive for * more details. */ -#include + #include #include -#include -#include #include #include #include #include + #include /* diff --git a/drivers/ide/pci/generic.c b/drivers/ide/pci/generic.c index 59ebe84f10..9262a9174b 100644 --- a/drivers/ide/pci/generic.c +++ b/drivers/ide/pci/generic.c @@ -22,18 +22,11 @@ #include #include #include -#include -#include -#include -#include -#include #include #include #include #include -#include - static int ide_generic_all; /* Set to claim all devices */ /* diff --git a/drivers/ide/pci/hpt34x.c b/drivers/ide/pci/hpt34x.c index 25dbb81482..9f01da46b0 100644 --- a/drivers/ide/pci/hpt34x.c +++ b/drivers/ide/pci/hpt34x.c @@ -26,20 +26,13 @@ #include #include #include -#include -#include -#include #include -#include #include #include #include #include #include -#include -#include - #define HPT343_DEBUG_DRIVE_INFO 0 static void hpt34x_set_mode(ide_drive_t *drive, const u8 speed) diff --git a/drivers/ide/pci/hpt366.c b/drivers/ide/pci/hpt366.c index 7a8c8c7a8b..d0f7bb8b8a 100644 --- a/drivers/ide/pci/hpt366.c +++ b/drivers/ide/pci/hpt366.c @@ -121,12 +121,8 @@ #include #include #include -#include -#include -#include #include #include - #include #include #include @@ -134,7 +130,6 @@ #include #include -#include /* various tuning parameters */ #define HPT_RESET_STATE_ENGINE diff --git a/drivers/ide/pci/it8213.c b/drivers/ide/pci/it8213.c index c781ea6502..e3427eaab4 100644 --- a/drivers/ide/pci/it8213.c +++ b/drivers/ide/pci/it8213.c @@ -10,13 +10,10 @@ #include #include #include -#include #include #include #include -#include - /** * it8213_set_pio_mode - set host controller for PIO mode * @drive: drive diff --git a/drivers/ide/pci/it821x.c b/drivers/ide/pci/it821x.c index 79232c6c1f..1597f0cc1b 100644 --- a/drivers/ide/pci/it821x.c +++ b/drivers/ide/pci/it821x.c @@ -63,13 +63,10 @@ #include #include #include -#include #include #include #include -#include - struct it821x_dev { unsigned int smart:1, /* Are we in smart raid mode */ diff --git a/drivers/ide/pci/jmicron.c b/drivers/ide/pci/jmicron.c index ff53c2df7a..a56bcb4f22 100644 --- a/drivers/ide/pci/jmicron.c +++ b/drivers/ide/pci/jmicron.c @@ -8,13 +8,10 @@ #include #include #include -#include #include #include #include -#include - typedef enum { PORT_PATA0 = 0, PORT_PATA1 = 1, diff --git a/drivers/ide/pci/ns87415.c b/drivers/ide/pci/ns87415.c index fc9eee9cca..bf0d3b2931 100644 --- a/drivers/ide/pci/ns87415.c +++ b/drivers/ide/pci/ns87415.c @@ -10,11 +10,7 @@ #include #include #include -#include -#include -#include #include -#include #include #include #include diff --git a/drivers/ide/pci/opti621.c b/drivers/ide/pci/opti621.c index 0ce92d3230..1e532c9a97 100644 --- a/drivers/ide/pci/opti621.c +++ b/drivers/ide/pci/opti621.c @@ -87,11 +87,6 @@ #include #include #include -#include -#include -#include -#include -#include #include #include #include diff --git a/drivers/ide/pci/pdc202xx_new.c b/drivers/ide/pci/pdc202xx_new.c index b552960dc1..1c8cb7797a 100644 --- a/drivers/ide/pci/pdc202xx_new.c +++ b/drivers/ide/pci/pdc202xx_new.c @@ -19,18 +19,12 @@ #include #include #include -#include -#include -#include -#include #include -#include #include #include #include #include -#include #ifdef CONFIG_PPC_PMAC #include diff --git a/drivers/ide/pci/pdc202xx_old.c b/drivers/ide/pci/pdc202xx_old.c index 41853a1bc9..9ee72c99d0 100644 --- a/drivers/ide/pci/pdc202xx_old.c +++ b/drivers/ide/pci/pdc202xx_old.c @@ -32,18 +32,13 @@ #include #include #include -#include -#include -#include #include #include -#include #include #include #include #include -#include #define PDC202XX_DEBUG_DRIVE_INFO 0 diff --git a/drivers/ide/pci/piix.c b/drivers/ide/pci/piix.c index 039f442c9e..decef0f476 100644 --- a/drivers/ide/pci/piix.c +++ b/drivers/ide/pci/piix.c @@ -47,11 +47,9 @@ #include #include #include -#include #include #include #include -#include #include #include diff --git a/drivers/ide/pci/rz1000.c b/drivers/ide/pci/rz1000.c index 7ed6625819..dd0d18ba00 100644 --- a/drivers/ide/pci/rz1000.c +++ b/drivers/ide/pci/rz1000.c @@ -16,18 +16,11 @@ #include #include #include -#include -#include -#include -#include -#include #include #include #include #include -#include - static void __devinit init_hwif_rz1000 (ide_hwif_t *hwif) { struct pci_dev *dev = to_pci_dev(hwif->dev); diff --git a/drivers/ide/pci/sc1200.c b/drivers/ide/pci/sc1200.c index af499a60eb..561aa47c77 100644 --- a/drivers/ide/pci/sc1200.c +++ b/drivers/ide/pci/sc1200.c @@ -14,19 +14,13 @@ #include #include #include -#include -#include -#include -#include -#include #include -#include #include #include #include #include + #include -#include #define SC1200_REV_A 0x00 #define SC1200_REV_B1 0x01 diff --git a/drivers/ide/pci/serverworks.c b/drivers/ide/pci/serverworks.c index d9687a431c..c11880b070 100644 --- a/drivers/ide/pci/serverworks.c +++ b/drivers/ide/pci/serverworks.c @@ -31,12 +31,10 @@ #include #include #include -#include #include #include #include #include -#include #include diff --git a/drivers/ide/pci/sgiioc4.c b/drivers/ide/pci/sgiioc4.c index 651845bf1a..054626497b 100644 --- a/drivers/ide/pci/sgiioc4.c +++ b/drivers/ide/pci/sgiioc4.c @@ -25,8 +25,6 @@ #include #include #include -#include -#include #include #include #include diff --git a/drivers/ide/pci/siimage.c b/drivers/ide/pci/siimage.c index accac8342e..5c1bd7928c 100644 --- a/drivers/ide/pci/siimage.c +++ b/drivers/ide/pci/siimage.c @@ -39,7 +39,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/ide/pci/sis5513.c b/drivers/ide/pci/sis5513.c index cb5c6fc6f3..512bb4c1fd 100644 --- a/drivers/ide/pci/sis5513.c +++ b/drivers/ide/pci/sis5513.c @@ -47,20 +47,11 @@ #include #include #include -#include -#include -#include -#include -#include #include - -#include #include #include #include -#include - #include "ide-timing.h" /* registers layout and init values are chipset family dependant */ diff --git a/drivers/ide/pci/sl82c105.c b/drivers/ide/pci/sl82c105.c index da13a1298a..ee261ae15b 100644 --- a/drivers/ide/pci/sl82c105.c +++ b/drivers/ide/pci/sl82c105.c @@ -17,17 +17,11 @@ #include #include #include -#include -#include -#include -#include -#include #include #include #include #include -#include #undef DEBUG diff --git a/drivers/ide/pci/slc90e66.c b/drivers/ide/pci/slc90e66.c index 427f95b25f..65f4c2ffaa 100644 --- a/drivers/ide/pci/slc90e66.c +++ b/drivers/ide/pci/slc90e66.c @@ -10,15 +10,11 @@ #include #include #include -#include #include #include #include -#include #include -#include - static DEFINE_SPINLOCK(slc90e66_lock); static void slc90e66_set_pio_mode(ide_drive_t *drive, const u8 pio) diff --git a/drivers/ide/pci/triflex.c b/drivers/ide/pci/triflex.c index 852b726937..a67d02a3f9 100644 --- a/drivers/ide/pci/triflex.c +++ b/drivers/ide/pci/triflex.c @@ -28,11 +28,6 @@ #include #include #include -#include -#include -#include -#include -#include #include #include #include diff --git a/drivers/ide/pci/trm290.c b/drivers/ide/pci/trm290.c index d9ebb69895..e3d58c9f05 100644 --- a/drivers/ide/pci/trm290.c +++ b/drivers/ide/pci/trm290.c @@ -131,14 +131,12 @@ #include #include #include -#include #include #include #include #include #include #include -#include #include #include diff --git a/drivers/ide/pci/via82cxxx.c b/drivers/ide/pci/via82cxxx.c index c58a279d6b..f3f79f8058 100644 --- a/drivers/ide/pci/via82cxxx.c +++ b/drivers/ide/pci/via82cxxx.c @@ -26,15 +26,11 @@ #include #include -#include -#include #include #include #include #include -#include - #ifdef CONFIG_PPC_CHRP #include #endif -- 2.39.5