From: Andreas Gruenbacher This one slipped me. The "real" wait queue is defined some lines further down inside the loop. Signed-off-by: Andreas Gruenbacher Signed-off-by: Andrew Morton --- 25-akpm/fs/mbcache.c | 2 -- 1 files changed, 2 deletions(-) diff -puN fs/mbcache.c~fs-mbcachec-remove-an-unused-wait-queue-variable fs/mbcache.c --- 25/fs/mbcache.c~fs-mbcachec-remove-an-unused-wait-queue-variable 2005-01-22 23:23:14.556145376 -0800 +++ 25-akpm/fs/mbcache.c 2005-01-22 23:23:14.561144616 -0800 @@ -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, _