diff options
author | John Garry <[email protected]> | 2024-11-12 09:21:44 +0000 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-11-19 09:09:47 -0700 |
commit | e924da7d6622b72f9eee78a3aad3e75b859da341 (patch) | |
tree | 663acb692c93ff7e764d9a0f1516042d1367ed58 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | b49125574cae26458d4aa02ce8f4523ba9a2a328 (diff) |
block: Drop granularity check in queue_limit_discard_alignment()
lim->discard_granularity is always at least SECTOR_SIZE, so drop the
pointless check for granularity less than SECTOR_SIZE.
Signed-off-by: John Garry <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions