From: Philippe Mathieu-Daudé Date: Mon, 28 May 2018 23:27:02 +0000 (-0300) Subject: memory: Do not include "exec/ioport.h" if it is not necessary X-Git-Tag: v3.0.0-rc0~117^2~51 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=86b246534b488f1882ac545ffc76fe896185efd0;p=thirdparty%2Fqemu.git memory: Do not include "exec/ioport.h" if it is not necessary Code change produced with: $ git grep '#include "exec/ioport.h"' memory.c | \ cut -d: -f-1 | \ xargs egrep -Li "(portio|cpu_(in|out).\()" | \ xargs sed -i.bak '/#include "exec\/ioport.h"/d' Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20180528232719.4721-5-f4bug@amsat.org> Acked-by: Michael S. Tsirkin Signed-off-by: Paolo Bonzini --- diff --git a/memory.c b/memory.c index fc7f9b782bd..7ead90f8cd9 100644 --- a/memory.c +++ b/memory.c @@ -19,7 +19,6 @@ #include "cpu.h" #include "exec/memory.h" #include "exec/address-spaces.h" -#include "exec/ioport.h" #include "qapi/visitor.h" #include "qemu/bitops.h" #include "qemu/error-report.h"