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)
commit7dbaea42f101c7e47bf6cf3aed77ff903dfa2023
tree1bccb6898384b40aa0d2dc8fbe8fdd245924fe20
parent0304f9ec9c5fddd2bd3d830d5c4dbe0d54006aa5
hw: Do not include "sysemu/blockdev.h" if it is not necessary

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