summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorJohn Garry <john.g.garry@oracle.com>2024-11-01 12:22:15 +0300
committerJens Axboe <axboe@kernel.dk>2024-11-02 05:17:52 +0300
commitd47de6ac8842327ae1c782670283450159c55d5b (patch)
tree17ecc938169ba53f5606dca6bfbaff7ac40a417c /scripts/lib/kdoc/kdoc_files.py
parentf187b9bf1a639090893c31030ddb60f9beae23f0 (diff)
downloadlinux-d47de6ac8842327ae1c782670283450159c55d5b.tar.xz
loop: Simplify discard granularity calc
A bdev discard granularity is always at least SECTOR_SIZE, so don't check for a zero value. Suggested-by: Christoph Hellwig <hch@lst.de> Signed-off-by: John Garry <john.g.garry@oracle.com> Link: https://lore.kernel.org/r/20241101092215.422428-1-john.g.garry@oracle.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions