dm: Remove unnecessary return in dm_zone_endio()
The return statement at the end of dm_zone_endio() is not needed. Remove it. Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
This commit is contained in:
parent
9de4a3967c
commit
d142643c06
|
@ -467,8 +467,6 @@ void dm_zone_endio(struct dm_io *io, struct bio *clone)
|
|||
bdev_offset_from_zone_start(disk->part0,
|
||||
clone->bi_iter.bi_sector);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static int dm_zone_need_reset_cb(struct blk_zone *zone, unsigned int idx,
|
||||
|
|
Loading…
Reference in New Issue