Commit 1276b103 authored by Jiri Slaby's avatar Jiri Slaby Committed by Linus Torvalds
Browse files

fs/select, remove unused macros



fs/select, remove unused macros

this is due to preparation for global BIT macro

Signed-off-by: default avatarJiri Slaby <jirislaby@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent bc552f77
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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)