Drop 'size' argument from bio_endio and bi_end_io
[linux-2.6-block.git] / drivers / md / dm-emc.c
index 71cc858b786041401031d7bfab99bb021c81b973..a2191a4fcf77120d6d9033b0cedb58ab3adc1c3a 100644 (file)
@@ -38,13 +38,10 @@ static inline void free_bio(struct bio *bio)
        bio_put(bio);
 }
 
-static int emc_endio(struct bio *bio, unsigned int bytes_done, int error)
+static void emc_endio(struct bio *bio, int error)
 {
        struct dm_path *path = bio->bi_private;
 
-       if (bio->bi_size)
-               return 1;
-
        /* We also need to look at the sense keys here whether or not to
         * switch to the next PG etc.
         *