summaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2025-02-14 12:36:36 -0700
committerJens Axboe <axboe@kernel.dk>2025-02-14 15:40:17 -0700
commit43c70b104093c324b1a000762ce943d16ce788f9 (patch)
tree4bb63f52c144920753e7bf5606cae2d7e9efe0e5 /scripts/generate_rust_analyzer.py
parent80e648042e512d5a767da251d44132553fe04ae0 (diff)
downloadlinux-43c70b104093c324b1a000762ce943d16ce788f9.tar.gz
linux-43c70b104093c324b1a000762ce943d16ce788f9.tar.bz2
linux-43c70b104093c324b1a000762ce943d16ce788f9.zip
block/merge: remove unnecessary min() with UINT_MAX
In bvec_split_segs(), max_bytes is an unsigned, so it must be less than or equal to UINT_MAX. Remove the unnecessary min(). Prior to commit 67927d220150 ("block/merge: count bytes instead of sectors"), the min() was with UINT_MAX >> 9, so it did have an effect. Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Link: https://lore.kernel.org/r/20250214193637.234702-1-csander@purestorage.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions