diff options
author | 2025-03-05 18:01:57 +0300 | |
---|---|---|
committer | 2025-03-18 20:35:49 +0100 | |
commit | c01b7114b809bbd3804d8a5b7e397f87f4ce52cb (patch) | |
tree | 243ffc9e10fa4b88f03bbe6b8641515fc2320384 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | btrfs: move btrfs_cleanup_bio() code into its single caller (diff) | |
download | wireguard-linux-c01b7114b809bbd3804d8a5b7e397f87f4ce52cb.tar.xz wireguard-linux-c01b7114b809bbd3804d8a5b7e397f87f4ce52cb.zip |
btrfs: return a literal instead of a variable in btrfs_init_dev_replace()
This is just a small clean up, it doesn't change how the code works.
Originally this code had a goto so we needed to set "ret = 0;" but now
it returns directly and so we can simplify it a bit by doing a
"return 0;" and removing the assignment.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions