Commit 0dddfd46 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

dm: emc_endio returns void

emc_endio returns void:
  linux/drivers/md/dm-emc.c: In function 'emc_endio':
  linux/drivers/md/dm-emc.c:58: warning: 'return' with a value, in function returning void
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e92042e5
...@@ -54,8 +54,6 @@ static void emc_endio(struct bio *bio, int error) ...@@ -54,8 +54,6 @@ static void emc_endio(struct bio *bio, int error)
/* request is freed in block layer */ /* request is freed in block layer */
free_bio(bio); free_bio(bio);
return 0;
} }
static struct bio *get_failover_bio(struct dm_path *path, unsigned data_size) static struct bio *get_failover_bio(struct dm_path *path, unsigned data_size)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment