aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2023-05-04 12:04:21 +0100
committerDavid Sterba <[email protected]>2023-06-19 13:59:24 +0200
commitb77433b144621ebd5d0a6a3b6a3d454fa45b9309 (patch)
tree496c61ce900aec6f91539f8e3632c9a95089b6e1 /scripts/generate_rust_analyzer.py
parent9085f42571e53b56b0087237d2e6258f47424938 (diff)
btrfs: use precomputed end offsets at do_trimming()
The are two computations of end offsets at do_trimming() that are not necessary, as they were previously computed and stored in local const variables. So just use the variables instead, to make the source code shorter and easier to read. Reviewed-by: Anand Jain <[email protected]> Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions