40 lines
1.2 KiB
Diff
40 lines
1.2 KiB
Diff
|
|
From 9a12c439cb9d1e59175be4b96adf0732dca39db3 Mon Sep 17 00:00:00 2001
|
||
|
|
From: Zhang Jiao <zhangjiao2_yewu@cmss.chinamobile.com>
|
||
|
|
Date: Tue, 12 Nov 2024 13:30:29 +0800
|
||
|
|
Subject: [PATCH] exec/memop: Remove unused memop_big_endian() helper
|
||
|
|
MIME-Version: 1.0
|
||
|
|
Content-Type: text/plain; charset=UTF-8
|
||
|
|
Content-Transfer-Encoding: 8bit
|
||
|
|
|
||
|
|
cheery-pick from 5caa0e1b1bf8597ea7277391b0e17e8584fad18f
|
||
|
|
|
||
|
|
Last use of memop_big_endian() was removed in commit 592134617c9
|
||
|
|
("accel/tcg: Reorg system mode store helpers").
|
||
|
|
|
||
|
|
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
|
||
|
|
Reviewed-by: Thomas Huth <thuth@redhat.com>
|
||
|
|
Message-Id: <20241003234211.53644-3-philmd@linaro.org>
|
||
|
|
Signed-off-by: Zhang Jiao <zhangjiao2_yewu@cmss.chinamobile.com>
|
||
|
|
---
|
||
|
|
include/exec/memop.h | 6 ------
|
||
|
|
1 file changed, 6 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/include/exec/memop.h b/include/exec/memop.h
|
||
|
|
index a86dc6743a..5b9064819c 100644
|
||
|
|
--- a/include/exec/memop.h
|
||
|
|
+++ b/include/exec/memop.h
|
||
|
|
@@ -164,10 +164,4 @@ static inline MemOp size_memop(unsigned size)
|
||
|
|
return ctz32(size);
|
||
|
|
}
|
||
|
|
|
||
|
|
-/* Big endianness from MemOp. */
|
||
|
|
-static inline bool memop_big_endian(MemOp op)
|
||
|
|
-{
|
||
|
|
- return (op & MO_BSWAP) == MO_BE;
|
||
|
|
-}
|
||
|
|
-
|
||
|
|
#endif
|
||
|
|
--
|
||
|
|
2.41.0.windows.1
|
||
|
|
|