]> www.infradead.org Git - nvme.git/commitdiff
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)
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

index ac9f1f82108bf474f367d79d37e1dd7cb880e13d..70719bf32a2e5e764af929d8a0558a07fd6af0d7 100644 (file)
@@ -13,8 +13,6 @@
 
 #define DM_MSG_PREFIX "zone"
 
-#define DM_ZONE_INVALID_WP_OFST                UINT_MAX
-
 /*
  * For internal zone reports bypassing the top BIO submission path.
  */