[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 14/23] exec/cpu-all: Remove unused tswapls() definitions
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v2 14/23] exec/cpu-all: Remove unused tswapls() definitions |
Date: |
Tue, 12 Dec 2023 13:33:50 +0100 |
Last use of tswapls() was removed 2 years ago in commit
aee14c77f4 ("linux-user: Rewrite do_getdents, do_getdents64").
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
include/exec/cpu-all.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h
index 5b5379b94c..b042d94892 100644
--- a/include/exec/cpu-all.h
+++ b/include/exec/cpu-all.h
@@ -38,11 +38,9 @@
#if TARGET_LONG_SIZE == 4
#define tswapl(s) tswap32(s)
-#define tswapls(s) tswap32s((uint32_t *)(s))
#define bswaptls(s) bswap32s(s)
#else
#define tswapl(s) tswap64(s)
-#define tswapls(s) tswap64s((uint64_t *)(s))
#define bswaptls(s) bswap64s(s)
#endif
--
2.41.0
- [PATCH v2 05/23] gdbstub: Include missing 'hw/core/cpu.h' header, (continued)
- [PATCH v2 05/23] gdbstub: Include missing 'hw/core/cpu.h' header, Philippe Mathieu-Daudé, 2023/12/12
- [PATCH v2 09/23] host/atomic128: Include missing 'qemu/atomic.h' header, Philippe Mathieu-Daudé, 2023/12/12
- [PATCH v2 08/23] host/load-extract: Include missing 'qemu/atomic.h' and 'qemu/int128.h', Philippe Mathieu-Daudé, 2023/12/12
- [PATCH v2 10/23] target/i386: Include missing 'exec/exec-all.h' header, Philippe Mathieu-Daudé, 2023/12/12
- [PATCH v2 11/23] accel/tcg: Include missing 'hw/core/cpu.h' header, Philippe Mathieu-Daudé, 2023/12/12
- [PATCH v2 12/23] exec/cpu-all: Remove unused 'qemu/thread.h' header, Philippe Mathieu-Daudé, 2023/12/12
- [PATCH v2 14/23] exec/cpu-all: Remove unused tswapls() definitions,
Philippe Mathieu-Daudé <=
- [PATCH v2 13/23] exec/cpu-all: Reduce 'qemu/rcu.h' header inclusion, Philippe Mathieu-Daudé, 2023/12/12
- [PATCH v2 15/23] exec: Declare target_words_bigendian() in 'exec/tswap.h', Philippe Mathieu-Daudé, 2023/12/12
- [PATCH v2 16/23] exec: Move [b]tswapl() declarations to 'exec/user/tswap-target.h', Philippe Mathieu-Daudé, 2023/12/12
- [PATCH v2 17/23] target/ppc/excp_helper: Avoid 'abi_ptr' in system emulation, Philippe Mathieu-Daudé, 2023/12/12
- [PATCH v2 18/23] accel/tcg: Un-inline retaddr helpers to 'user-retaddr.h', Philippe Mathieu-Daudé, 2023/12/12