mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [trivial patch] fs/mbcache.c: Remove an unused wait queue variable
@ 2005-01-21 15:09 Andreas Gruenbacher
  0 siblings, 0 replies; only message in thread
From: Andreas Gruenbacher @ 2005-01-21 15:09 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

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!

Signed-off-by: Andreas Gruenbacher <agruen@suse.de>

Index: linux-2.6.11-latest/fs/mbcache.c
===================================================================
--- linux-2.6.11-latest.orig/fs/mbcache.c
+++ 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,
-- 
Andreas Gruenbacher <agruen@suse.de>
SUSE Labs, SUSE LINUX GMBH


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-21 15:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-21 15:09 [trivial patch] fs/mbcache.c: Remove an unused wait queue variable Andreas Gruenbacher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome