From: Adrian Bunk Date: Thu, 29 Jun 2006 09:24:34 +0000 (-0700) Subject: [PATCH] drivers/md/raid5.c: remove an unused variable X-Git-Tag: v2.6.18-rc1~396 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfb9e32f2ff32ef5265c1c80fe68dd1a7f03a604;p=linux-2.6 [PATCH] drivers/md/raid5.c: remove an unused variable Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index f920e50ea1..837ec4eb3d 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c @@ -2827,7 +2827,6 @@ static inline sector_t sync_request(mddev_t *mddev, sector_t sector_nr, int *ski 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;