summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2005-01-25 04:43:55 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-25 04:43:55 -0800
commit74a68fc2b24a772d2f0deb2e68ea35e7232f99e7 (patch)
treedfbe694ab83cf778caf93835c923e815ef7e102f
parentdc4e2ff6a18de15c56c2a124e71c14f122aaa8ea (diff)
[PATCH] fs/mbcache.c: Remove an unused wait queue variable
This one slipped me. The "real" wait queue is defined some lines further down inside the loop. Signed-off-by: Andreas Gruenbacher <agruen@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--fs/mbcache.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/mbcache.c b/fs/mbcache.c
index 695541ae36dc..801cc2347832 100644
--- a/fs/mbcache.c
+++ b/fs/mbcache.c
@@ -554,8 +554,6 @@ static struct mb_cache_entry *
__mb_cache_entry_find(struct list_head *l, struct list_head *head,
int index, struct block_device *bdev, unsigned int key)
{
- DEFINE_WAIT(wait);
-
while (l != head) {
struct mb_cache_entry *ce =
list_entry(l, struct mb_cache_entry,