block: remove BIO_EOPNOTSUPP
[firefly-linux-kernel-4.4.55.git] / block / bounce.c
index ab21ba203d5c7744f4da2afbba85ed45dde86b98..4bac72579c1f01056bf23a2b7a64941806d6e412 100644 (file)
@@ -128,9 +128,6 @@ static void bounce_end_io(struct bio *bio, mempool_t *pool, int err)
        struct bio_vec *bvec, *org_vec;
        int i;
 
-       if (test_bit(BIO_EOPNOTSUPP, &bio->bi_flags))
-               set_bit(BIO_EOPNOTSUPP, &bio_orig->bi_flags);
-
        /*
         * free up bounce indirect pages used
         */