From 44b774858ee0bc92c8fda0825204b4c0c3d89cfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Tue, 16 Jun 2026 10:11:40 +0200 Subject: [PATCH] system/memory: Remove unnecessary CONFIG_USER_ONLY guards MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This header is only used when building system units, checking for CONFIG_USER_ONLY is pointless. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20260616153754.93545-2-philmd@oss.qualcomm.com> --- system/memory-internal.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/system/memory-internal.h b/system/memory-internal.h index 0066ffdffb..c7573a68b5 100644 --- a/system/memory-internal.h +++ b/system/memory-internal.h @@ -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