aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-12-12 11:18:13 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-04-26 17:03:05 +0200
commit77166c4568eb7cbd81afeecf4975c607b734f1f0 (patch)
tree5aceafc334a2afbc5cd3b048a86639e53d6ce8d4
parentc8f7bbb773ec815aa49c15abd87ba8b02a14add3 (diff)
downloadqemu-77166c4568eb7cbd81afeecf4975c607b734f1f0.zip
qemu-77166c4568eb7cbd81afeecf4975c607b734f1f0.tar.gz
qemu-77166c4568eb7cbd81afeecf4975c607b734f1f0.tar.bz2
exec/cpu-all: Remove unused tswapls() definitions
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> Reviewed-by: Anton Johansson <anjo@rev.ng> Message-Id: <20231212123401.37493-15-philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r--include/exec/cpu-all.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h
index 4de0d5a..7c44ffb 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