summaryrefslogtreecommitdiff
path: root/include/linux/compatmac.h
diff options
context:
space:
mode:
authorRobert Love <rml@tech9.net>2002-06-04 00:31:55 -0700
committerLinus Torvalds <torvalds@penguin.transmeta.com>2002-06-04 00:31:55 -0700
commit95c78cd5c06870d4e7fc5c286a6cd53d8e027779 (patch)
treea02c1c2149ee35cc11543e1aa140fca071ebb79e /include/linux/compatmac.h
parenta73f75e26e6ca756dd9d4e7b51b101c48240834f (diff)
[PATCH] remove suser()
Attached patch replaces the lone remaining suser() call with capable() and then removes suser() itself in a triumphant celebration of the glory of capable(). Or something. ;-) Small cleanup of capable() and some comments, too.
Diffstat (limited to 'include/linux/compatmac.h')
-rw-r--r--include/linux/compatmac.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/compatmac.h b/include/linux/compatmac.h
index 72f9151b8a84..1e28380cabb7 100644
--- a/include/linux/compatmac.h
+++ b/include/linux/compatmac.h
@@ -102,8 +102,6 @@ static inline void *ioremap(unsigned long base, long length)
#define my_iounmap(x, b) (((long)x<0x100000)?0:vfree ((void*)x))
-#define capable(x) suser()
-
#define tty_flip_buffer_push(tty) queue_task(&tty->flip.tqueue, &tq_timer)
#define signal_pending(current) (current->signal & ~current->blocked)
#define schedule_timeout(to) do {current->timeout = jiffies + (to);schedule ();} while (0)