Skip to contentSkip to conversation

fs/stat.c: Drop choose_32_64() macro

PATCH New Helge Deller 1 participant 1 message Dec 15, 2022 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs/stat.c: Drop choose_32_64() macro

The choose_32_64() macro is never used. Drop it.

fs/stat.c +0 -6
index ef50573c72a2..1813eb6d2114 100644
@@ -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