mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +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
1 changed files with 0 additions and 5 deletions
|
@ -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 a new issue