Skip to content

Commit

Permalink
dm: emc_endio returns void
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed Oct 13, 2007
1 parent e92042e commit 0dddfd4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/md/dm-emc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0dddfd4

Please sign in to comment.