Skip to contentSkip to conversation

accel/tcg/cpu-exec-common.c: Remove unnecessary include of memory-internal.h

PATCH In review Peter Maydell 3 participants 3 messages Nov 21, 2017

lore
Share & tools
lore
#0 lore raw

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.

---
 accel/tcg/cpu-exec-common.c | 1 -
 1 file changed, 1 deletion(-)
accel/tcg/cpu-exec-common.c +0 -1
index 5b4ae54..dac5aac 100644
@@ -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
Reviewed-by Tested-by on v1 1/1
#1 lore raw
Quoted 4 lines · Peter Maydell

The cpu-exec-common.c file includes memory-internal.h, but it doesn't actually use anything from that header. Remove the unnecessary include.

Quoted 17 lines
---
 accel/tcg/cpu-exec-common.c | 1 -
 1 file changed, 1 deletion(-)
accel/tcg/cpu-exec-common.c +0 -1
index 5b4ae54..dac5aac 100644
@@ -21,7 +21,6 @@
 #include "cpu.h"
 #include "sysemu/cpus.h"
 #include "exec/exec-all.h"
-#include "exec/memory-internal.h"
 
 bool tcg_allowed;