Skip to contentSkip to conversation

fs/mbcache.c: Remove an unused wait queue variable

PATCH New Andreas Gruenbacher 1 participant 1 message Jan 21, 2005 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs/mbcache.c: Remove an unused wait queue variable

Hello,

This one slipped me. The "real" wait queue is defined some lines further down inside the loop.

In the future, where should I best send trivial tings like this? Thank you!

fs/mbcache.c +0 -2
Index: linux-2.6.11-latest/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,

Cheers,

Signature · 2 lines
Andreas Gruenbacher <[email protected]>
SUSE Labs, SUSE LINUX GMBH