]> www.infradead.org Git - nvme.git/commit
dm: Remove unused macro DM_ZONE_INVALID_WP_OFST
authorDamien Le Moal <dlemoal@kernel.org>
Tue, 11 Jun 2024 02:36:39 +0000 (11:36 +0900)
committerJens Axboe <axboe@kernel.dk>
Sun, 16 Jun 2024 02:42:20 +0000 (20:42 -0600)
commiteaa3706fedc6a4142c251b2d4005d850caeabe50
tree23c3270a5222e81559911747b7a957197c9e5b1b
parent73a74af0c72b7cfd843cbd93e088fc5c51471a84
dm: Remove unused macro DM_ZONE_INVALID_WP_OFST

With the switch to using the zone append emulation of the block layer
zone write plugging, the macro DM_ZONE_INVALID_WP_OFST is no longer used
in dm-zone.c. Remove its definition.

Fixes: f211268ed1f9 ("dm: Use the block layer zone append emulation")
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Benjamin Marzinski <bmarzins@redhat.com>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Link: https://lore.kernel.org/r/20240611023639.89277-5-dlemoal@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/dm-zone.c