From 18430a08aa144ee4bb5c5192970f2327a18d1ef9 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 6 Oct 2010 02:56:44 +0000 Subject: Remove duplicate includes from the code Corresponding to flashrom svn r1196. Signed-off-by: Stefan Reinauer Acked-by: Carl-Daniel Hailfinger --- atahpt.c | 1 - bitbang_spi.c | 1 - buspirate_spi.c | 1 - cbtable.c | 1 - chipset_enable.c | 1 - cli_classic.c | 1 - dummyflasher.c | 1 - ft2232_spi.c | 1 - gfxnvidia.c | 1 - hwaccess.h | 1 - internal.c | 2 -- mcp6x_spi.c | 1 - pcidev.c | 1 - physmap.c | 3 --- serial.c | 1 - serprog.c | 1 - 16 files changed, 19 deletions(-) diff --git a/atahpt.c b/atahpt.c index 35044074..f1e12964 100644 --- a/atahpt.c +++ b/atahpt.c @@ -20,7 +20,6 @@ #include #include -#include #include "flash.h" #include "programmer.h" diff --git a/bitbang_spi.c b/bitbang_spi.c index fe85b609..fb404acc 100644 --- a/bitbang_spi.c +++ b/bitbang_spi.c @@ -18,7 +18,6 @@ */ #include -#include #include #include #include diff --git a/buspirate_spi.c b/buspirate_spi.c index 9890d482..d24f890b 100644 --- a/buspirate_spi.c +++ b/buspirate_spi.c @@ -18,7 +18,6 @@ */ #include -#include #include #include #include diff --git a/cbtable.c b/cbtable.c index 9aa9e84c..2b02e719 100644 --- a/cbtable.c +++ b/cbtable.c @@ -25,7 +25,6 @@ #include #include #include -#include #include #include "flash.h" #include "programmer.h" diff --git a/chipset_enable.c b/chipset_enable.c index 58bddaa5..9967070f 100644 --- a/chipset_enable.c +++ b/chipset_enable.c @@ -29,7 +29,6 @@ #include #include -#include #include #include "flash.h" #include "programmer.h" diff --git a/cli_classic.c b/cli_classic.c index 09504d7f..979a8220 100644 --- a/cli_classic.c +++ b/cli_classic.c @@ -23,7 +23,6 @@ #include #include -#include #include #include #include diff --git a/dummyflasher.c b/dummyflasher.c index a356d514..9b8bb539 100644 --- a/dummyflasher.c +++ b/dummyflasher.c @@ -21,7 +21,6 @@ #include #include #include -#include #include "flash.h" #include "chipdrivers.h" #include "programmer.h" diff --git a/ft2232_spi.c b/ft2232_spi.c index 30eff428..9c6b017b 100644 --- a/ft2232_spi.c +++ b/ft2232_spi.c @@ -21,7 +21,6 @@ #if CONFIG_FT2232_SPI == 1 #include -#include #include #include #include diff --git a/gfxnvidia.c b/gfxnvidia.c index b0bf79b9..78253808 100644 --- a/gfxnvidia.c +++ b/gfxnvidia.c @@ -20,7 +20,6 @@ #include #include -#include #include "flash.h" #include "programmer.h" diff --git a/hwaccess.h b/hwaccess.h index 45629d24..9bf37f25 100644 --- a/hwaccess.h +++ b/hwaccess.h @@ -252,7 +252,6 @@ cpu_to_be(64) #define iopl amd64_iopl #endif #endif - #include static inline void outb(uint8_t value, uint16_t port) { diff --git a/internal.c b/internal.c index b9b5a4bf..c96db990 100644 --- a/internal.c +++ b/internal.c @@ -18,10 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include #include #include -#include #include "flash.h" #include "programmer.h" diff --git a/mcp6x_spi.c b/mcp6x_spi.c index 97c0a1c5..0e0d311f 100644 --- a/mcp6x_spi.c +++ b/mcp6x_spi.c @@ -25,7 +25,6 @@ #if defined(__i386__) || defined(__x86_64__) -#include #include #include #include "flash.h" diff --git a/pcidev.c b/pcidev.c index f7048e7d..6fc4e456 100644 --- a/pcidev.c +++ b/pcidev.c @@ -20,7 +20,6 @@ #include #include -#include #include "flash.h" #include "programmer.h" diff --git a/physmap.c b/physmap.c index d5948aee..4641e8ec 100644 --- a/physmap.c +++ b/physmap.c @@ -22,7 +22,6 @@ #include #include -#include #include #include #include "flash.h" @@ -135,8 +134,6 @@ void cleanup_cpu_msr(void) } #elif defined(__DARWIN__) -#include - #define MEM_DEV "DirectIO" static void *sys_physmap(unsigned long phys_addr, size_t len) diff --git a/serial.c b/serial.c index 9957fb46..053b09a3 100644 --- a/serial.c +++ b/serial.c @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include diff --git a/serprog.c b/serprog.c index 8354f54a..2cdfea66 100644 --- a/serprog.c +++ b/serprog.c @@ -25,7 +25,6 @@ #include #include #include -#include #include #include #include -- cgit v1.2.3