aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorAndre Noll <maan@systemlinux.org>2008-10-12 20:55:12 -0400
committerNeilBrown <neilb@suse.de>2008-10-12 20:55:12 -0400
commit481d86c7ebe2ce59dfb6ccb720efa9d3fc1cf7cd (patch)
tree55c51ebaa5fe89469666bd8e275d55fa244cadb1 /drivers/md
parente61130228ea5740e31e9646ea6d1c9d9089746c3 (diff)
md: linear.c: Remove pointless initialization of curr_offset.
Signed-off-by: Andre Noll <maan@systemlinux.org> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/linear.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/linear.c b/drivers/md/linear.c
index 61a980da8b51..632898f3bc98 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)
218 conf->disks[i-1].size; 218 conf->disks[i-1].size;
219 219
220 table = conf->hash_table; 220 table = conf->hash_table;
221 curr_offset = 0;
222 i = 0; 221 i = 0;
223 for (curr_offset = 0; 222 for (curr_offset = 0;
224 curr_offset < conf->array_sectors / 2; 223 curr_offset < conf->array_sectors / 2;