From c2767233eaece09f03a04066844e570188fe54ed Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Thu, 18 Oct 2007 23:40:25 -0700 Subject: [PATCH] --- yaml --- r: 71471 b: refs/heads/master c: 1276b103c20603835d9b903cae099125e8c2c5a3 h: refs/heads/master i: 71469: c805cc51d4d137a376efbbb2bc3ca44edbb73013 71467: 8a3c8b72b9ea14bc37b1c10a876f5f0350f32a15 71463: 8a671574731867b6a9560f62901b731362308acf 71455: 33084fd5d6b205629a4b3079fbf0255e6c84c06a v: v3 --- [refs] | 2 +- trunk/fs/select.c | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 814d3e5d44c2..166bc8efb8c2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bc552f77157d1bae79d0d3a5541da9579c39cb70 +refs/heads/master: 1276b103c20603835d9b903cae099125e8c2c5a3 diff --git a/trunk/fs/select.c b/trunk/fs/select.c index 7dede89658f5..47f47925aea2 100644 --- a/trunk/fs/select.c +++ b/trunk/fs/select.c @@ -177,11 +177,6 @@ static int max_select_fd(unsigned long n, fd_set_bits *fds) 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)