md/raid5: remove unusual use of bio_iovec_idx()
authorNamhyung Kim <namhyung@gmail.com>
Tue, 14 Jun 2011 04:23:57 +0000 (14:23 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 14 Jun 2011 04:23:57 +0000 (14:23 +1000)
commitfcde90759a985d8bfa4391346a821cc12fc16207
tree6bf70b409c98cd019d7814c19b52a54690dcc8de
parentb062962edb086011e94ec4d9eb3f6a6d814f2a8f
md/raid5: remove unusual use of bio_iovec_idx()

In the bio_for_each_segment loop, bvl always points current
bio_vec, so the same as bio_iovec_idx(, i). Let's get rid of
it.

Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid5.c