All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] floppy.c: remove superfluous variable initialization
@ 2004-07-11 23:44 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2004-07-11 23:44 UTC (permalink / raw)
  To: Andrew Morton; +Cc: A1tmblwd, linux-kernel


One month ago, Kam Leo <A1tmblwd@netscape.net> sent this trivial patch 
with the following comment:


<--  snip  -->

Paul Slootman did not remove the superfluous variable 
initialization which masked the floppy minor bug in 
drivers/block/floppy.c.  Please add the patch below 
and close Bug 2770.

<--  snip  -->


Since this is obviously correct, the patch rediffed against 2.6.7-mm7 is 
below.


Signed-off-by: Adrian Bunk <bunk@fs.tum.de>

--- linux-2.6.7-mm7-full/drivers/block/floppy.c.old	2004-07-12 01:33:30.000000000 +0200
+++ linux-2.6.7-mm7-full/drivers/block/floppy.c	2004-07-12 01:33:45.000000000 +0200
@@ -4228,7 +4228,6 @@
 	int err, dr;
 
 	raw_cmd = NULL;
-	i = 0;
 
 	for (dr = 0; dr < N_DRIVE; dr++) {
 		disks[dr] = alloc_disk(1);


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

only message in thread, other threads:[~2004-07-11 23:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-11 23:44 [2.6 patch] floppy.c: remove superfluous variable initialization Adrian Bunk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.