summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2007-10-13 14:31:28 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-13 09:41:03 -0700
commit0dddfd46f07db880df7d99e6ebe8baca11591f29 (patch)
tree1be11024fd1f9ce11359aee50611fc4eac468bc6 /drivers/md
parente92042e5c009d84ba741ec4a978a13f260e6ee24 (diff)
downloadblackbird-op-linux-0dddfd46f07db880df7d99e6ebe8baca11591f29.tar.gz
blackbird-op-linux-0dddfd46f07db880df7d99e6ebe8baca11591f29.zip
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 <geert@linux-m68k.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm-emc.c2
1 files changed, 0 insertions, 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)
OpenPOWER on IntegriCloud