trivial: Remove unneeded ifndef in memory.h
PATCH 1/1 trivial: Remove unneeded ifndef in memory.h
All the file is surounded already by #ifndef CONFIG_USER_ONLY.
Signed-off-by Juan Quintela <[email protected]>
--- include/exec/memory.h | 2 -- 1 file changed, 2 deletions(-)
include/exec/memory.h +0 -2
@@ -17,9 +17,7 @@#ifndef CONFIG_USER_ONLY #include "exec/cpu-common.h" -#ifndef CONFIG_USER_ONLY #include "exec/hwaddr.h" -#endif #include "exec/memattrs.h" #include "exec/ramlist.h" #include "qemu/queue.h"
Signature · 1 line
2.9.3
Quoted 3 lines · * Juan Quintela ([email protected]) wrote:
All the file is surounded already by #ifndef
CONFIG_USER_ONLY.Signed-off-by Juan Quintela <[email protected]>
Ah yes, the patch that added the inner ifndef added it to every use of exec/hwaddr.h.
Reviewed-by Dr. David Alan Gilbert <[email protected]>
Quoted 21 lines
--- include/exec/memory.h | 2 -- 1 file changed, 2 deletions(-)include/exec/memory.h +0
-2@@ -17,9 +17,7 @@#ifndef CONFIG_USER_ONLY #include "exec/cpu-common.h" -#ifndef CONFIG_USER_ONLY #include "exec/hwaddr.h" -#endif #include "exec/memattrs.h" #include "exec/ramlist.h" #include "qemu/queue.h" Signature · 1 line
2.9.3
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK
Quoted 13 lines · Juan Quintela
All the file is surounded already by #ifndef
CONFIG_USER_ONLY.Signed-off-by Juan Quintela <[email protected]>--- include/exec/memory.h | 2 -- 1 file changed, 2 deletions(-)include/exec/memory.h +0
-0
include/exec/memory.h line 23
Quoted 9 lines
include/exec/memory.h +0
-2@@ -17,9 +17,7 @@#ifndef CONFIG_USER_ONLY #include "exec/cpu-common.h" -#ifndef CONFIG_USER_ONLY #include "exec/hwaddr.h" -#endif #include "exec/memattrs.h" #include "exec/ramlist.h" #include "qemu/queue.h"
Reviewed-by Laurent Vivier <[email protected]>
Michael Tokarev
AppliedApplied to -trivial, thanks!
/mjt