diff mbox series

fs/stat.c: Drop choose_32_64() macro

Message ID Y5uiykbotOf9H8BI@ls3530 (mailing list archive)
State New, archived
Headers show
Series fs/stat.c: Drop choose_32_64() macro | expand

Commit Message

Helge Deller Dec. 15, 2022, 10:42 p.m. UTC
The choose_32_64() macro is never used. Drop it.

Signed-off-by: Helge Deller <deller@gmx.de>
diff mbox series

Patch

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