]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
exec/memop: Remove unused memop_big_endian() helper
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 3 Oct 2024 16:41:36 +0000 (18:41 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 15 Oct 2024 14:55:09 +0000 (11:55 -0300)
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>

include/exec/memop.h

index b699bf76886db18805be1e379736d8ea0b95a264..acdb40a9b3b39b80c9d18238bd1c7431e99e5643 100644 (file)
@@ -164,12 +164,6 @@ static inline MemOp size_memop(unsigned size)
     return (MemOp)ctz32(size);
 }
 
-/* Big endianness from MemOp.  */
-static inline bool memop_big_endian(MemOp op)
-{
-    return (op & MO_BSWAP) == MO_BE;
-}
-
 /**
  * memop_alignment_bits:
  * @memop: MemOp value