Skip to content

Commit

Permalink
memory: Do not include "exec/ioport.h" if it is not necessary
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
philmd authored and bonzini committed May 31, 2018
1 parent 25a3173 commit 86b2465
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion memory.c
Expand Up @@ -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"
Expand Down

0 comments on commit 86b2465

Please sign in to comment.