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