From: Jiri Slaby Date: Fri, 19 Oct 2007 06:40:25 +0000 (-0700) Subject: fs/select, remove unused macros X-Git-Tag: v2.6.24-rc1~196 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1276b103c20603835d9b903cae099125e8c2c5a3;p=linux-2.6-omap-h63xx.git fs/select, remove unused macros fs/select, remove unused macros this is due to preparation for global BIT macro Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/select.c b/fs/select.c index 7dede89658f..47f47925aea 100644 --- a/fs/select.c +++ b/fs/select.c @@ -177,11 +177,6 @@ get_max: return max; } -#define BIT(i) (1UL << ((i)&(__NFDBITS-1))) -#define MEM(i,m) ((m)+(unsigned)(i)/__NFDBITS) -#define ISSET(i,m) (((i)&*(m)) != 0) -#define SET(i,m) (*(m) |= (i)) - #define POLLIN_SET (POLLRDNORM | POLLRDBAND | POLLIN | POLLHUP | POLLERR) #define POLLOUT_SET (POLLWRBAND | POLLWRNORM | POLLOUT | POLLERR) #define POLLEX_SET (POLLPRI)