mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:10 +00:00
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>
This commit is contained in:
@@ -14,7 +14,6 @@
|
||||
#ifndef MEMORY_INTERNAL_H
|
||||
#define MEMORY_INTERNAL_H
|
||||
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
static inline AddressSpaceDispatch *flatview_to_dispatch(FlatView *fv)
|
||||
{
|
||||
return fv->dispatch;
|
||||
@@ -57,4 +56,3 @@ static inline MemOp devend_memop(enum device_endian end)
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user