diff options
author | Christoph Hellwig <hch@lst.de> | 2022-04-15 06:52:50 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-18 03:49:59 +0200 |
commit | 4e1462ffe8998749884d61f91be251a7a8719677 (patch) | |
tree | d414406b2e59976346b235a6db45fcb14c6be1e4 /block/partitions | |
parent | block: move bdev_alignment_offset and queue_limit_alignment_offset out of line (diff) | |
download | linux-4e1462ffe8998749884d61f91be251a7a8719677.tar.xz linux-4e1462ffe8998749884d61f91be251a7a8719677.zip |
block: remove queue_discard_alignment
Just use bdev_alignment_offset in disk_discard_alignment_show instead.
That helpers is the same except for an always false branch that doesn't
matter in this slow path.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20220415045258.199825-20-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/partitions')
0 files changed, 0 insertions, 0 deletions