summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2023-05-04 12:04:21 +0100
committerDavid Sterba <dsterba@suse.com>2023-06-19 13:59:24 +0200
commitb77433b144621ebd5d0a6a3b6a3d454fa45b9309 (patch)
tree496c61ce900aec6f91539f8e3632c9a95089b6e1 /tools/perf/scripts/python
parent9085f42571e53b56b0087237d2e6258f47424938 (diff)
downloadlinux-b77433b144621ebd5d0a6a3b6a3d454fa45b9309.tar.gz
linux-b77433b144621ebd5d0a6a3b6a3d454fa45b9309.zip
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 <anand.jain@oracle.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions