[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1579596564-257998-1-git-send-email-alex.shi@linux.alibaba.com>
Date: Tue, 21 Jan 2020 16:49:24 +0800
From: Alex Shi <alex.shi@...ux.alibaba.com>
To: unlisted-recipients:; (no To-header on input)
Cc: Alexander Viro <viro@...iv.linux.org.uk>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] 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.
Signed-off-by: Alex Shi <alex.shi@...ux.alibaba.com>
Cc: Alexander Viro <viro@...iv.linux.org.uk>
Cc: linux-fsdevel@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
---
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
Powered by blists - more mailing lists