summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/bio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/bio.c b/linux/bio.c
index d9b860a0..797204f8 100644
--- a/linux/bio.c
+++ b/linux/bio.c
@@ -167,9 +167,8 @@ void bio_free_pages(struct bio *bio)
{
struct bvec_iter_all iter;
struct bio_vec *bvec;
- int i;
- bio_for_each_segment_all(bvec, bio, i, iter)
+ bio_for_each_segment_all(bvec, bio, iter)
__free_page(bvec->bv_page);
}