From: Andre Noll Date: Mon, 13 Oct 2008 00:55:12 +0000 (+1100) Subject: md: linear.c: Remove pointless initialization of curr_offset. X-Git-Tag: v2.6.28-rc1~288^2~10 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=481d86c7ebe2ce59dfb6ccb720efa9d3fc1cf7cd;p=linux-2.6-omap-h63xx.git md: linear.c: Remove pointless initialization of curr_offset. Signed-off-by: Andre Noll Signed-off-by: NeilBrown --- diff --git a/drivers/md/linear.c b/drivers/md/linear.c index 61a980da8b5..632898f3bc9 100644 --- a/drivers/md/linear.c +++ b/drivers/md/linear.c @@ -218,7 +218,6 @@ static linear_conf_t *linear_conf(mddev_t *mddev, int raid_disks) conf->disks[i-1].size; table = conf->hash_table; - curr_offset = 0; i = 0; for (curr_offset = 0; curr_offset < conf->array_sectors / 2;