From: Jiri Slaby fs/select, remove unused macros this is due to preparation for global BIT macro Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton --- fs/select.c | 5 ----- 1 files changed, 5 deletions(-) diff -puN fs/select.c~fs-select-remove-unused-macros fs/select.c --- a/fs/select.c~fs-select-remove-unused-macros +++ a/fs/select.c @@ -179,11 +179,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) _