diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2007-10-19 02:40:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 14:53:41 -0400 |
commit | 1276b103c20603835d9b903cae099125e8c2c5a3 (patch) | |
tree | 942421113b459fbbd26738e4fc145f06e269307a /fs/select.c | |
parent | bc552f77157d1bae79d0d3a5541da9579c39cb70 (diff) |
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>
Diffstat (limited to 'fs/select.c')
-rw-r--r-- | fs/select.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/select.c b/fs/select.c index 7dede89658f5..47f47925aea2 100644 --- a/fs/select.c +++ b/fs/select.c | |||
@@ -177,11 +177,6 @@ get_max: | |||
177 | return max; | 177 | return max; |
178 | } | 178 | } |
179 | 179 | ||
180 | #define BIT(i) (1UL << ((i)&(__NFDBITS-1))) | ||
181 | #define MEM(i,m) ((m)+(unsigned)(i)/__NFDBITS) | ||
182 | #define ISSET(i,m) (((i)&*(m)) != 0) | ||
183 | #define SET(i,m) (*(m) |= (i)) | ||
184 | |||
185 | #define POLLIN_SET (POLLRDNORM | POLLRDBAND | POLLIN | POLLHUP | POLLERR) | 180 | #define POLLIN_SET (POLLRDNORM | POLLRDBAND | POLLIN | POLLHUP | POLLERR) |
186 | #define POLLOUT_SET (POLLWRBAND | POLLWRNORM | POLLOUT | POLLERR) | 181 | #define POLLOUT_SET (POLLWRBAND | POLLWRNORM | POLLOUT | POLLERR) |
187 | #define POLLEX_SET (POLLPRI) | 182 | #define POLLEX_SET (POLLPRI) |