Merge tag 'for-5.2/block-20190507' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / fs / xfs / xfs_aops.c
index 09ac1bb..a6f0f47 100644 (file)
@@ -98,7 +98,6 @@ xfs_destroy_ioend(
 
        for (bio = &ioend->io_inline_bio; bio; bio = next) {
                struct bio_vec  *bvec;
-               int             i;
                struct bvec_iter_all iter_all;
 
                /*
@@ -111,7 +110,7 @@ xfs_destroy_ioend(
                        next = bio->bi_private;
 
                /* walk each page on bio, ending page IO on them */
-               bio_for_each_segment_all(bvec, bio, i, iter_all)
+               bio_for_each_segment_all(bvec, bio, iter_all)
                        xfs_finish_page_writeback(inode, bvec, error);
                bio_put(bio);
        }