From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>, Neil Brown <neilb@suse.de>
Cc: linux-kernel@vger.kernel.org, mingo@redhat.com,
linux-raid@vger.kernel.org
Subject: [-mm patch] drivers/md/raid5.c: remove an unused variable
Date: Mon, 26 Jun 2006 22:27:00 +0200 [thread overview]
Message-ID: <20060626202700.GA23314@stusta.de> (raw)
In-Reply-To: <20060624061914.202fbfb5.akpm@osdl.org>
This patch removes an unused variable.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.17-mm2-full/drivers/md/raid5.c.old 2006-06-26 21:17:13.000000000 +0200
+++ linux-2.6.17-mm2-full/drivers/md/raid5.c 2006-06-26 21:17:20.000000000 +0200
@@ -2827,7 +2827,6 @@
struct stripe_head *sh;
int pd_idx;
int raid_disks = conf->raid_disks;
- int data_disks = raid_disks - conf->max_degraded;
sector_t max_sector = mddev->size << 1;
int sync_blocks;
int still_degraded = 0;
parent reply other threads:[~2006-06-26 20:27 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20060624061914.202fbfb5.akpm@osdl.org>]
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=20060626202700.GA23314@stusta.de \
--to=bunk@stusta.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=neilb@suse.de \
/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;
as well as URLs for NNTP newsgroup(s).