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 <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Mikulas Patocka <[email protected]>
1 parent 9de4a39 commit d142643

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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)