From: Markus Armbruster Date: Tue, 6 Sep 2011 16:58:55 +0000 (+0200) Subject: hw: Trim superfluous #include "block_int.h" X-Git-Tag: v1.0-rc0~250 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fb0c61a5a51cd51f0c4e2f009ccb4a44bd9d8544;p=thirdparty%2Fqemu.git hw: Trim superfluous #include "block_int.h" Including it in device models is unclean, including it without a reason adds insult to injury. Signed-off-by: Markus Armbruster Signed-off-by: Kevin Wolf --- diff --git a/hw/fdc.c b/hw/fdc.c index edade2bf92b..57eda0c7223 100644 --- a/hw/fdc.c +++ b/hw/fdc.c @@ -36,7 +36,6 @@ #include "qdev-addr.h" #include "blockdev.h" #include "sysemu.h" -#include "block_int.h" /********************************************************/ /* debug Floppy devices */ diff --git a/hw/ide/cmd646.c b/hw/ide/cmd646.c index 4d91e2c6429..5fe98b1bb37 100644 --- a/hw/ide/cmd646.c +++ b/hw/ide/cmd646.c @@ -27,7 +27,6 @@ #include #include #include "block.h" -#include "block_int.h" #include "sysemu.h" #include "dma.h" diff --git a/hw/ide/ich.c b/hw/ide/ich.c index 5278bc4d6cb..0327d0ee72e 100644 --- a/hw/ide/ich.c +++ b/hw/ide/ich.c @@ -66,7 +66,6 @@ #include #include #include "block.h" -#include "block_int.h" #include "dma.h" #include diff --git a/hw/ide/isa.c b/hw/ide/isa.c index 4ac745324cd..28b69d2cc34 100644 --- a/hw/ide/isa.c +++ b/hw/ide/isa.c @@ -26,7 +26,6 @@ #include #include #include "block.h" -#include "block_int.h" #include "dma.h" #include diff --git a/hw/ide/macio.c b/hw/ide/macio.c index fdf5d75082a..c1844cb738b 100644 --- a/hw/ide/macio.c +++ b/hw/ide/macio.c @@ -26,7 +26,6 @@ #include #include #include "block.h" -#include "block_int.h" #include "dma.h" #include diff --git a/hw/ide/microdrive.c b/hw/ide/microdrive.c index 91c0e3c89d2..9eee5b50ba9 100644 --- a/hw/ide/microdrive.c +++ b/hw/ide/microdrive.c @@ -26,7 +26,6 @@ #include #include #include "block.h" -#include "block_int.h" #include "dma.h" #include diff --git a/hw/ide/mmio.c b/hw/ide/mmio.c index 132b7517ba5..2ec21b01632 100644 --- a/hw/ide/mmio.c +++ b/hw/ide/mmio.c @@ -24,7 +24,6 @@ */ #include #include "block.h" -#include "block_int.h" #include "dma.h" #include diff --git a/hw/ide/pci.c b/hw/ide/pci.c index d1a14d7cc1c..9fded02954a 100644 --- a/hw/ide/pci.c +++ b/hw/ide/pci.c @@ -27,7 +27,6 @@ #include #include #include "block.h" -#include "block_int.h" #include "dma.h" #include diff --git a/hw/ide/via.c b/hw/ide/via.c index c0b9d438271..dab8a39f57a 100644 --- a/hw/ide/via.c +++ b/hw/ide/via.c @@ -28,7 +28,6 @@ #include #include #include "block.h" -#include "block_int.h" #include "sysemu.h" #include "dma.h" diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c index ac284e96098..dbb3bdf2ceb 100644 --- a/hw/lsi53c895a.c +++ b/hw/lsi53c895a.c @@ -15,7 +15,6 @@ #include "hw.h" #include "pci.h" #include "scsi.h" -#include "block_int.h" //#define DEBUG_LSI //#define DEBUG_LSI_REG