Skip to content

Commit eaa3706

Browse files
damien-lemoalaxboe
authored andcommitted
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: f211268 ("dm: Use the block layer zone append emulation") Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Reviewed-by: Benjamin Marzinski <[email protected]> Reviewed-by: Niklas Cassel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
1 parent 73a74af commit eaa3706

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
@@ -13,8 +13,6 @@
1313

1414
#define DM_MSG_PREFIX "zone"
1515

16-
#define DM_ZONE_INVALID_WP_OFST UINT_MAX
17-
1816
/*
1917
* For internal zone reports bypassing the top BIO submission path.
2018
*/

0 commit comments

Comments
 (0)