]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dm: Remove unnecessary return in dm_zone_endio()
authorDamien Le Moal <dlemoal@kernel.org>
Wed, 11 Jun 2025 01:14:56 +0000 (10:14 +0900)
committerMikulas Patocka <mpatocka@redhat.com>
Fri, 27 Jun 2025 10:59:11 +0000 (12:59 +0200)
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>
drivers/md/dm-zone.c

index 3d31b82e073043051abf88992ea02d796587b864..78e17dd4d01b8247dd11b1c6e14a09c7a8de28b0 100644 (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,