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:13 +0800
committerDavid Sterba <dsterba@suse.com>2025-03-18 20:35:52 +0100
commit10de00c7d4e3a12ffbb996e03aefcad0c107981d (patch)
treedda7af32a572d38638ddf20493f9c8791b9c566d /tools/perf/scripts/python/exported-sql-viewer.py
parentbtrfs: simplify the return value handling in search_ioctl() (diff)
downloadlinux-rng-10de00c7d4e3a12ffbb996e03aefcad0c107981d.tar.xz
linux-rng-10de00c7d4e3a12ffbb996e03aefcad0c107981d.zip
btrfs: remove unnecessary btrfs_key local variable in btrfs_search_forward()
The 'found_key' variable was only used to temporarily store the found key before copying it to 'min_key' at the end of the function when returning success. Eliminate the 'found_key' variable, and directly store the key into 'min_key' at the exact loop exit points where ret=0 is set, maintaining identical functionality. 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