]> err.no Git - linux-2.6/commitdiff
dm: emc_endio returns void
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 13 Oct 2007 12:31:28 +0000 (14:31 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 13 Oct 2007 16:41:03 +0000 (09:41 -0700)
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 <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/dm-emc.c

index a2191a4fcf77120d6d9033b0cedb58ab3adc1c3a..342517261ece129dd115f34897b1ff762a1fd78b 100644 (file)
@@ -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)