From: Adrian Bunk <bunk@fs.tum.de>
To: Andrew Morton <akpm@osdl.org>
Cc: A1tmblwd@netscape.net, linux-kernel@vger.kernel.org
Subject: [2.6 patch] floppy.c: remove superfluous variable initialization
Date: Mon, 12 Jul 2004 01:44:19 +0200 [thread overview]
Message-ID: <20040711234419.GG4701@fs.tum.de> (raw)
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);
reply other threads:[~2004-07-11 23:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040711234419.GG4701@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=A1tmblwd@netscape.net \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox