Skip to content

Commit

Permalink
dm: Remove unused macro DM_ZONE_INVALID_WP_OFST
Browse files Browse the repository at this point in the history
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: f211268 ("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>
  • Loading branch information
damien-lemoal authored and axboe committed Jun 16, 2024
1 parent 73a74af commit eaa3706
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/md/dm-zone.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit eaa3706

Please sign in to comment.