]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw: Do not include "sysemu/blockdev.h" if it is not necessary
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 28 May 2018 23:27:11 +0000 (20:27 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Jun 2018 12:15:10 +0000 (14:15 +0200)
The header "hw/boards.h" already includes "sysemu/blockdev.h".

Code change produced with:

    $ git grep '#include "sysemu/blockdev.h"' hw | \
      cut -d: -f-1 | \
      xargs fgrep -l '#include "hw/boards.h"' | \
      xargs sed -i.bak '/#include "sysemu\/blockdev.h"/d'

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180528232719.4721-14-f4bug@amsat.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/arm/aspeed.c
hw/arm/omap1.c
hw/arm/omap2.c
hw/mips/mips_malta.c
hw/ppc/ppc405_boards.c
hw/ppc/sam460ex.c

index aecb3c1e757871d8c8f59537b9bb42a969317107..a7110a712f358524fba7703ef881fcf21583116a 100644 (file)
@@ -19,7 +19,6 @@
 #include "hw/boards.h"
 #include "qemu/log.h"
 #include "sysemu/block-backend.h"
-#include "sysemu/blockdev.h"
 #include "hw/loader.h"
 #include "qemu/error-report.h"
 
index 854996c1ac7e63fe9095abed7a14cb7ce1bf2b8d..9af04728e39241de7ce20576abbb6333d8f537b9 100644 (file)
@@ -28,7 +28,6 @@
 #include "hw/arm/omap.h"
 #include "sysemu/sysemu.h"
 #include "hw/arm/soc_dma.h"
-#include "sysemu/blockdev.h"
 #include "sysemu/qtest.h"
 #include "qemu/range.h"
 #include "hw/sysbus.h"
index cc4250b7da5567a1b1b7820440df434e5588f421..3c7d1364a9086432dd607e777055a597be9c017c 100644 (file)
@@ -23,7 +23,6 @@
 #include "qapi/error.h"
 #include "qemu-common.h"
 #include "cpu.h"
-#include "sysemu/blockdev.h"
 #include "sysemu/qtest.h"
 #include "hw/boards.h"
 #include "hw/hw.h"
index af70ecffc006e1abd249e0197197b33e6f62c81f..494f84e2900c5de8ed0a92eaa4198fca35aaea12 100644 (file)
@@ -46,7 +46,6 @@
 #include "elf.h"
 #include "hw/timer/mc146818rtc.h"
 #include "hw/timer/i8254.h"
-#include "sysemu/blockdev.h"
 #include "exec/address-spaces.h"
 #include "hw/sysbus.h"             /* SysBusDevice */
 #include "qemu/host-utils.h"
index 0b658931ee9d1ba2d318f821ce5d851c6edeacea..d301067d3be27faad0239261af056e74cafd70ca 100644 (file)
@@ -37,7 +37,6 @@
 #include "qemu/log.h"
 #include "qemu/error-report.h"
 #include "hw/loader.h"
-#include "sysemu/blockdev.h"
 #include "exec/address-spaces.h"
 
 #define BIOS_FILENAME "ppc405_rom.bin"
index a48e6e6fce9e447d9cf9b3f3bc9f18d990642356..3dd23de71f6542f85ea952dd0a4be28827d71d64 100644 (file)
@@ -17,7 +17,6 @@
 #include "qemu/error-report.h"
 #include "qapi/error.h"
 #include "hw/hw.h"
-#include "sysemu/blockdev.h"
 #include "hw/boards.h"
 #include "sysemu/kvm.h"
 #include "kvm_ppc.h"