This variable 'disk' is never used - how odd.
Signed-off-by: NeilBrown <neilb@suse.de>
r10bio_t *r10_bio;
struct bio *biolist = NULL, *bio;
sector_t max_sector, nr_sectors;
- int disk;
int i;
int max_sync;
sector_t sync_blocks;
do {
struct page *page;
int len = PAGE_SIZE;
- disk = 0;
if (sector_nr + (len>>9) > max_sector)
len = (max_sector - sector_nr) << 9;
if (len == 0)
}
goto bio_full;
}
- disk = i;
}
nr_sectors += len>>9;
sector_nr += len>>9;