All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiri Slaby <jirislaby@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: <linux-kernel@vger.kernel.org>
Cc: <viro@zeniv.linux.org.uk>
Subject: [PATCH 1/9] fs/select, remove unused macros
Date: Sat, 18 Aug 2007 11:39:16 +0200 (CEST)	[thread overview]
Message-ID: <737828602404912540@wsc.cz> (raw)

fs/select, remove unused macros

this is due to preparation for global BIT macro

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>

---
commit 8754d87e5b6221e7d34cccef473588d5170b689e
tree 52ac6a983077ab5854dcacfa4b0e3323c7bbd9c8
parent 7129cd56f4f7f8d9f7cc9deb9a62291fc989cf91
author Jiri Slaby <jirislaby@gmail.com> Sun, 12 Aug 2007 21:39:36 +0200
committer Jiri Slaby <jirislaby@gmail.com> Sun, 12 Aug 2007 21:39:36 +0200

 fs/select.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/fs/select.c b/fs/select.c
index 53b3fe9..22647d4 100644
--- a/fs/select.c
+++ b/fs/select.c
@@ -179,11 +179,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)

             reply	other threads:[~2007-08-18  9:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-18  9:39 Jiri Slaby [this message]
2007-08-18  9:40 ` [PATCH 2/9] cyber2000fb, rename BIT macro Jiri Slaby
2007-08-18  9:40 ` [PATCH 3/9] i2c-pxa, rename BIT macro to PXA_BIT Jiri Slaby
2007-08-18  9:41 ` [PATCH 4/9] s2io, rename BIT macro Jiri Slaby
2007-08-24  2:35   ` Richard Knutsson
2007-08-18  9:42 ` [PATCH 5/9] amba-pl011, " Jiri Slaby
2007-08-18  9:42 ` [PATCH 6/9] define first set of BIT* macros Jiri Slaby
2007-08-18  9:44 ` [PATCH 8/9] define global BIT macro Jiri Slaby
2007-08-18  9:44   ` Jiri Slaby
2007-08-18 16:46   ` Randy Dunlap
2007-08-18 16:46     ` Randy Dunlap
2007-08-18 17:13     ` Jiri Slaby
2007-08-18 18:15       ` Randy Dunlap
2007-08-22 22:03   ` Ralf Baechle
2007-08-18  9:44 ` [PATCH 9/9] FlashPoint, use BIT instead of BITW Jiri Slaby
2007-08-18  9:44   ` Jiri Slaby

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=737828602404912540@wsc.cz \
    --to=jirislaby@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.