summaryrefslogtreecommitdiff
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-06-19 17:45:37 +0200
committerJens Axboe <axboe@kernel.dk>2024-06-20 06:53:14 -0600
commit4cac3d3a712b5c76d462b29b73b9e58c0b6d9946 (patch)
tree5d4dde73d90bf6c3f70d5d0d9cb0ba02db134d73 /include/linux/blkdev.h
parent5543217be468268dfedf504f4969771b9a377353 (diff)
block: remove the discard_alignment flag
queue_limits.discard_alignment is never read except in the places where it is stacked into another limit. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Link: https://lore.kernel.org/r/20240619154623.450048-6-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 7ad2b1240fc0..86410ce41bf6 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -377,7 +377,6 @@ struct queue_limits {
unsigned short max_integrity_segments;
unsigned short max_discard_segments;
- unsigned char discard_misaligned;
unsigned char raid_partial_stripes_expensive;
unsigned int max_open_zones;
unsigned int max_active_zones;