Skip to content

Commit

Permalink
md: linear.c: Remove pointless initialization of curr_offset.
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: NeilBrown <neilb@suse.de>
  • Loading branch information
Andre Noll authored and NeilBrown committed Oct 13, 2008
1 parent e611302 commit 481d86c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/md/linear.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 481d86c

Please sign in to comment.