diff options
| author | Anand Jain <anand.jain@oracle.com> | 2024-05-10 15:10:50 +0800 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2024-07-11 15:33:21 +0200 |
| commit | ba69f42af2a568f30904a11dc257eb892c5e8c0e (patch) | |
| tree | 1aa2331f2351ab8cf99908af105ff04c8d042779 /tools/perf/scripts/python | |
| parent | btrfs: rename err to ret in btrfs_cleanup_fs_roots() (diff) | |
| download | linux-ba69f42af2a568f30904a11dc257eb892c5e8c0e.tar.gz linux-ba69f42af2a568f30904a11dc257eb892c5e8c0e.zip | |
btrfs: rename ret to err in btrfs_recover_relocation()
In the function btrfs_recover_relocation(), currently the variable 'err'
carries the return value and 'ret' holds the intermediary return value.
However, in some lines, we don't need this two-step approach; we can
directly use 'err'. So, optimize them, which requires reinitializing 'err'
to zero at two locations.
This is a preparatory patch to fix the code style by renaming 'err'
to 'ret'.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
