Commit d142643c authored by Damien Le Moal's avatar Damien Le Moal Committed by Mikulas Patocka
Browse files

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: default avatarDamien Le Moal <dlemoal@kernel.org>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
parent 9de4a396
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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,