diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-03-05 18:01:57 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-03-18 20:35:49 +0100 |
commit | c01b7114b809bbd3804d8a5b7e397f87f4ce52cb (patch) | |
tree | 243ffc9e10fa4b88f03bbe6b8641515fc2320384 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 477a7a9c1f46b179ccc5eb2bbf18a0966055a464 (diff) |
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions