[PATCH] fs/select: remove __COMPAT_NFDBITS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Alex Shi <alex.shi@xxxxxxxxxxxxxxxxx>
Cc: Alexander Viro <viro@xxxxxxxxxxxxxxxxxx> 
Cc: linux-fsdevel@xxxxxxxxxxxxxxx 
Cc: linux-kernel@xxxxxxxxxxxxxxx 
---
 fs/select.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/select.c b/fs/select.c
index 11d0285d46b7..f2f4fbcf0c93 100644
--- a/fs/select.c
+++ b/fs/select.c
@@ -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
-- 
1.8.3.1




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux