diff options
author | 2024-12-09 16:24:30 +0000 | |
---|---|---|
committer | 2025-01-13 14:53:16 +0100 | |
commit | adf7da3f261cee646a488d46f2086d6e98e72f57 (patch) | |
tree | 3b2be9f69476d6bb5378aa527709d8612850422e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: avoid redundant call to get inline ref type at check_committed_ref() (diff) | |
download | wireguard-linux-adf7da3f261cee646a488d46f2086d6e98e72f57.tar.xz wireguard-linux-adf7da3f261cee646a488d46f2086d6e98e72f57.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions