md: linear.c: Remove pointless initialization of curr_offset.
Signed-off-by: Andre Noll <maan@systemlinux.org> Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
e61130228e
commit
481d86c7eb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue