fs/select, remove unused macros
fs/select, remove unused macros this is due to preparation for global BIT macro Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
bc552f7715
commit
1276b103c2
@@ -177,11 +177,6 @@ get_max:
|
|||||||
return 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 POLLIN_SET (POLLRDNORM | POLLRDBAND | POLLIN | POLLHUP | POLLERR)
|
||||||
#define POLLOUT_SET (POLLWRBAND | POLLWRNORM | POLLOUT | POLLERR)
|
#define POLLOUT_SET (POLLWRBAND | POLLWRNORM | POLLOUT | POLLERR)
|
||||||
#define POLLEX_SET (POLLPRI)
|
#define POLLEX_SET (POLLPRI)
|
||||||
|
Reference in New Issue
Block a user