diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2018-05-28 20:27:02 -0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-05-31 19:12:13 +0200 |
commit | 86b246534b488f1882ac545ffc76fe896185efd0 (patch) | |
tree | de2cb46e7e3c7e5242d7f37f46cfcb246b72d49b /memory.c | |
parent | 25a3173a0cd318445f274d82543d9a8133b4c384 (diff) |
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é <f4bug@amsat.org>
Message-Id: <20180528232719.4721-5-f4bug@amsat.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'memory.c')
-rw-r--r-- | memory.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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" |