Skip to contentSkip to conversation

floppy.c: remove superfluous variable initialization

PATCH New Adrian Bunk 1 participant 1 message Jul 11, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 floppy.c: remove superfluous variable initialization

One month ago, Kam Leo <[email protected]> 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.

drivers/block/floppy.c renamed from drivers/block/floppy.c.old +0 -1
@@ -4228,7 +4228,6 @@
 	int err, dr;
 
 	raw_cmd = NULL;
-	i = 0;
 
 	for (dr = 0; dr < N_DRIVE; dr++) {
 		disks[dr] = alloc_disk(1);