* [PATCH] fs/stat.c: Drop choose_32_64() macro
@ 2022-12-15 22:42 Helge Deller
0 siblings, 0 replies; only message in thread
From: Helge Deller @ 2022-12-15 22:42 UTC (permalink / raw)
To: Alexander Viro, linux-fsdevel
The choose_32_64() macro is never used. Drop it.
Signed-off-by: Helge Deller <deller@gmx.de>
diff --git a/fs/stat.c b/fs/stat.c
index ef50573c72a2..1813eb6d2114 100644
--- a/fs/stat.c
+++ b/fs/stat.c
@@ -354,12 +354,6 @@ SYSCALL_DEFINE2(fstat, unsigned int, fd, struct __old_kernel_stat __user *, stat
#ifdef __ARCH_WANT_NEW_STAT
-#if BITS_PER_LONG == 32
-# define choose_32_64(a,b) a
-#else
-# define choose_32_64(a,b) b
-#endif
-
#ifndef INIT_STRUCT_STAT_PADDING
# define INIT_STRUCT_STAT_PADDING(st) memset(&st, 0, sizeof(st))
#endif
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-15 22:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-15 22:42 [PATCH] fs/stat.c: Drop choose_32_64() macro Helge Deller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.