summaryrefslogtreecommitdiff
path: root/drivers/md/linear.c
diff options
context:
space:
mode:
authorAndre Noll <maan@systemlinux.org>2008-10-13 04:55:12 +0400
committerNeilBrown <neilb@suse.de>2008-10-13 04:55:12 +0400
commit481d86c7ebe2ce59dfb6ccb720efa9d3fc1cf7cd (patch)
tree55c51ebaa5fe89469666bd8e275d55fa244cadb1 /drivers/md/linear.c
parente61130228ea5740e31e9646ea6d1c9d9089746c3 (diff)
downloadlinux-481d86c7ebe2ce59dfb6ccb720efa9d3fc1cf7cd.tar.xz
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/linear.c')
-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)
conf->disks[i-1].size;
table = conf->hash_table;
- curr_offset = 0;
i = 0;
for (curr_offset = 0;
curr_offset < conf->array_sectors / 2;