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:
Damien Le Moal 2025-06-11 10:14:56 +09:00 committed by Mikulas Patocka
parent 9de4a3967c
commit d142643c06
1 changed files with 0 additions and 2 deletions

View File

@ -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,