* [-mm patch] drivers/md/raid5.c: remove an unused variable
[not found] <20060624061914.202fbfb5.akpm@osdl.org>
@ 2006-06-26 20:27 ` Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2006-06-26 20:27 UTC (permalink / raw)
To: Andrew Morton, Neil Brown; +Cc: linux-kernel, mingo, linux-raid
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-26 20:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20060624061914.202fbfb5.akpm@osdl.org>
2006-06-26 20:27 ` [-mm patch] drivers/md/raid5.c: remove an unused variable Adrian Bunk
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).