accel/tcg/cpu-exec-common.c: Remove unnecessary include of memory-internal.h
PATCH 1/1 accel/tcg/cpu-exec-common.c: Remove unnecessary include of memory-internal.h
The cpu-exec-common.c file includes memory-internal.h, but it doesn't actually use anything from that header. Remove the unnecessary include.
Signed-off-by Peter Maydell <[email protected]>
--- accel/tcg/cpu-exec-common.c | 1 - 1 file changed, 1 deletion(-)
accel/tcg/cpu-exec-common.c +0 -1
@@ -21,7 +21,6 @@#include "cpu.h" #include "sysemu/cpus.h" #include "exec/exec-all.h" -#include "exec/memory-internal.h" bool tcg_allowed;
Signature · 1 line
2.7.4
Quoted 4 lines · Peter Maydell
The
cpu-exec-common.cfile includesmemory-internal.h, but it doesn't actually use anything from that header. Remove the unnecessary include.Signed-off-by Peter Maydell <[email protected]>
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Quoted 17 lines
--- accel/tcg/cpu-exec-common.c | 1 - 1 file changed, 1 deletion(-)accel/tcg/cpu-exec-common.c +0
-1@@ -21,7 +21,6 @@#include "cpu.h" #include "sysemu/cpus.h" #include "exec/exec-all.h" -#include "exec/memory-internal.h" bool tcg_allowed;
Quoted 7 lines · Peter Maydell
The
cpu-exec-common.cfile includesmemory-internal.h, but it doesn't actually use anything from that header. Remove the unnecessary include.Signed-off-by Peter Maydell <[email protected]>--- accel/tcg/cpu-exec-common.c | 1 - 1 file changed, 1 deletion(-)
Reviewed-by Richard Henderson <[email protected]>
r~