Commit ae334d0f authored by Matt Mackall's avatar Matt Mackall Committed by Linus Torvalds

[PATCH] random: kill 2.2 compat waitqueue defs

Remove Linux 2.2 compatibility cruft.
Signed-off-by: default avatarMatt Mackall <mpm@selenic.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent c1c48e61
......@@ -379,16 +379,6 @@ static struct poolinfo {
* hash; hash collisions will occur no more often than chance.
*/
/*
* Linux 2.2 compatibility
*/
#ifndef DECLARE_WAITQUEUE
#define DECLARE_WAITQUEUE(WAIT, PTR) struct wait_queue WAIT = { PTR, NULL }
#endif
#ifndef DECLARE_WAIT_QUEUE_HEAD
#define DECLARE_WAIT_QUEUE_HEAD(WAIT) struct wait_queue *WAIT
#endif
/*
* Static global variables
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment