Message ID | 1511276851-17680-1-git-send-email-peter.maydell@linaro.org |
---|---|
State | Accepted |
Commit | 4d60b25b371c62bd1a0fad8981d034cd2d3e5385 |
Headers | show |
Series | accel/tcg/cpu-exec-common.c: Remove unnecessary include of memory-internal.h | expand |
On 11/21/2017 12:07 PM, Peter Maydell wrote: > 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 <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > --- > accel/tcg/cpu-exec-common.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/accel/tcg/cpu-exec-common.c b/accel/tcg/cpu-exec-common.c > index 5b4ae54..dac5aac 100644 > --- a/accel/tcg/cpu-exec-common.c > +++ b/accel/tcg/cpu-exec-common.c > @@ -21,7 +21,6 @@ > #include "cpu.h" > #include "sysemu/cpus.h" > #include "exec/exec-all.h" > -#include "exec/memory-internal.h" > > bool tcg_allowed; > >
On 11/21/2017 04:07 PM, Peter Maydell wrote: > 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 <peter.maydell@linaro.org> > --- > accel/tcg/cpu-exec-common.c | 1 - > 1 file changed, 1 deletion(-) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
diff --git a/accel/tcg/cpu-exec-common.c b/accel/tcg/cpu-exec-common.c index 5b4ae54..dac5aac 100644 --- a/accel/tcg/cpu-exec-common.c +++ b/accel/tcg/cpu-exec-common.c @@ -21,7 +21,6 @@ #include "cpu.h" #include "sysemu/cpus.h" #include "exec/exec-all.h" -#include "exec/memory-internal.h" bool tcg_allowed;
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 <peter.maydell@linaro.org> --- accel/tcg/cpu-exec-common.c | 1 - 1 file changed, 1 deletion(-) -- 2.7.4