system/memory: Remove unnecessary CONFIG_USER_ONLY guards
This header is only used when building system units, checking for CONFIG_USER_ONLY is pointless. Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20260616153754.93545-2-philmd@oss.qualcomm.com>
Philippe Mathieu-Daudé committed
Jun 16, 2026 at 10:11 UTC
44b774858ee0bc92c8fda0825204b4c0c3d89cfb
1 file changed
-2
system/memory-internal.h
-2
@@ -14,7 +14,6 @@
14
#ifndef MEMORY_INTERNAL_H
15
#define MEMORY_INTERNAL_H
16
17
-#ifndef CONFIG_USER_ONLY
17
static inline AddressSpaceDispatch *flatview_to_dispatch(FlatView *fv)
18
{
19
return fv->dispatch;
@@ -57,4 +56,3 @@ static inline MemOp devend_memop(enum device_endian end)
56
}
57
58
#endif
60
-#endif