diff options
author | Sun YangKai <sunk67188@gmail.com> | 2025-03-11 16:13:13 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-03-18 20:35:52 +0100 |
commit | 10de00c7d4e3a12ffbb996e03aefcad0c107981d (patch) | |
tree | dda7af32a572d38638ddf20493f9c8791b9c566d /scripts/lib/kdoc/kdoc_output.py | |
parent | 140ac522de14c1e44dde9ca69a4a1a853953c891 (diff) |
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 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions