aboutsummaryrefslogtreecommitdiff
path: root/drivers/md/dm-emc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm-emc.c')
-rw-r--r--drivers/md/dm-emc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/md/dm-emc.c b/drivers/md/dm-emc.c
index 71cc858b786..a2191a4fcf7 100644
--- a/drivers/md/dm-emc.c
+++ b/drivers/md/dm-emc.c
@@ -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.
*