diff options
author | Christoph Hellwig <hch@lst.de> | 2024-06-26 17:26:28 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-06-26 18:37:35 +0300 |
commit | abfc9d810926dfbf5645c7755c8d5ab96273f27d (patch) | |
tree | d42984f8747310e190d00b1b3ba563042374902c /include/linux/bpfptr.h | |
parent | 73781b3b81e76583708a652c853d54d03dce031d (diff) | |
download | linux-abfc9d810926dfbf5645c7755c8d5ab96273f27d.tar.xz |
block: remove the fallback case in queue_dma_alignment
Now that all updates go through blk_validate_limits the default of 511
is set at initialization time. Also remove the unused NULL check as
calling this helper on a NULL queue can't happen (and doesn't make
much sense to start with).
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20240626142637.300624-8-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/bpfptr.h')
0 files changed, 0 insertions, 0 deletions