diff options
author | Filipe Manana <fdmanana@suse.com> | 2024-12-09 19:24:30 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-01-13 16:53:16 +0300 |
commit | adf7da3f261cee646a488d46f2086d6e98e72f57 (patch) | |
tree | 3b2be9f69476d6bb5378aa527709d8612850422e /scripts/lib/kdoc/kdoc_files.py | |
parent | 78cdfba85df90fe0eb507f2fe86eba7c8f51fe4c (diff) | |
download | linux-adf7da3f261cee646a488d46f2086d6e98e72f57.tar.xz |
btrfs: simplify return logic at check_committed_ref()
Instead of setting the value to return in a local variable 'ret' and then
jumping into a label named 'out' that does nothing but return that value,
simplify everything by getting rid of the label and directly returning a
value.
Reviewed-by: Qu Wenruo <wqu@suse.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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions