qemu-s390x
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 02/16] exec/memop: Remove unused memop_big_endian() helper


From: Thomas Huth
Subject: Re: [PATCH 02/16] exec/memop: Remove unused memop_big_endian() helper
Date: Mon, 7 Oct 2024 07:51:45 +0200
User-agent: Mozilla Thunderbird

On 04/10/2024 01.41, Philippe Mathieu-Daudé wrote:
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>
---
  include/exec/memop.h | 6 ------
  1 file changed, 6 deletions(-)

diff --git a/include/exec/memop.h b/include/exec/memop.h
index f881fe7af4e..899ea0a2aae 100644
--- a/include/exec/memop.h
+++ b/include/exec/memop.h
@@ -164,10 +164,4 @@ 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;
-}
-
  #endif

Reviewed-by: Thomas Huth <thuth@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]