提交 0dddfd46 编写于 作者: G Geert Uytterhoeven 提交者: 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: NGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册