Skip to contentSkip to conversation

fs/select: remove __COMPAT_NFDBITS

PATCH New Alex Shi 1 participant 1 message Jan 21, 2020 VFS

lore
Share & tools
lore

Alex Shi

author
#0 lore raw

PATCH 1/1 fs/select: remove __COMPAT_NFDBITS

No one use this macro after commit 464d62421cb8 ("select: switch compat_{get,put}_fd_set() to compat_{get,put}_bitmap()") so remove it.

---
 fs/select.c | 1 -
 1 file changed, 1 deletion(-)
fs/select.c +0 -1
index 11d0285d46b7..f2f4fbcf0c93 100644
@@ -1130,7 +1130,6 @@ static long do_restart_poll(struct restart_block *restart_block)
 #endif
 
 #ifdef CONFIG_COMPAT
-#define __COMPAT_NFDBITS       (8 * sizeof(compat_ulong_t))
 
 /*
  * Ooo, nasty.  We need here to frob 32-bit unsigned longs to
Signature · 1 line
1.8.3.1