mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
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:
parent
bc552f7715
commit
1276b103c2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user