Skip to content

Commit d142643

Browse files
damien-lemoalMikulas Patocka
authored andcommitted
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>
1 parent 9de4a39 commit d142643

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/md/dm-zone.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,6 @@ void dm_zone_endio(struct dm_io *io, struct bio *clone)
467467
bdev_offset_from_zone_start(disk->part0,
468468
clone->bi_iter.bi_sector);
469469
}
470-
471-
return;
472470
}
473471

474472
static int dm_zone_need_reset_cb(struct blk_zone *zone, unsigned int idx,

0 commit comments

Comments
 (0)