aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSun YangKai <sunk67188@gmail.com>2025-03-11 16:13:14 +0800
committerDavid Sterba <dsterba@suse.com>2025-03-18 20:35:52 +0100
commit0aaaf10ae9aef82bf6589ced2510ff4e249cb3af (patch)
tree34e5fa238176851c2ccbc466bd318fb2d036dfa1 /tools/perf/scripts/python/exported-sql-viewer.py
parentbtrfs: remove unnecessary btrfs_key local variable in btrfs_search_forward() (diff)
downloadlinux-rng-0aaaf10ae9aef82bf6589ced2510ff4e249cb3af.tar.xz
linux-rng-0aaaf10ae9aef82bf6589ced2510ff4e249cb3af.zip
btrfs: avoid redundant path slot assignment in btrfs_search_forward()
Move path slot assignment before the condition check to prevent duplicate assignment. Previously, the slot was set both inside and after the 'slot >= nritems' block with no change in its value, which is unnecessary. Signed-off-by: Sun YangKai <sunk67188@gmail.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions