From 0dddfd46f07db880df7d99e6ebe8baca11591f29 Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven Date: Sat, 13 Oct 2007 14:31:28 +0200 Subject: [PATCH] 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: Geert Uytterhoeven Signed-off-by: Linus Torvalds --- drivers/md/dm-emc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/md/dm-emc.c b/drivers/md/dm-emc.c index a2191a4fcf77..342517261ece 100644 --- a/drivers/md/dm-emc.c +++ b/drivers/md/dm-emc.c @@ -54,8 +54,6 @@ static void emc_endio(struct bio *bio, int error) /* request is freed in block layer */ free_bio(bio); - - return 0; } static struct bio *get_failover_bio(struct dm_path *path, unsigned data_size) -- 2.30.2