From: Damien Le Moal Date: Wed, 11 Jun 2025 01:14:56 +0000 (+0900) Subject: dm: Remove unnecessary return in dm_zone_endio() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d142643c06bcbc8be173a4d749adf42dd798a617;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Christoph Hellwig Signed-off-by: Mikulas Patocka --- diff --git a/drivers/md/dm-zone.c b/drivers/md/dm-zone.c index 3d31b82e07304..78e17dd4d01b8 100644 --- a/drivers/md/dm-zone.c +++ b/drivers/md/dm-zone.c @@ -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,