aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2024-05-10 15:10:50 +0800
committerDavid Sterba <dsterba@suse.com>2024-07-11 15:33:21 +0200
commitba69f42af2a568f30904a11dc257eb892c5e8c0e (patch)
tree1aa2331f2351ab8cf99908af105ff04c8d042779 /tools/perf/scripts/python
parentbtrfs: rename err to ret in btrfs_cleanup_fs_roots() (diff)
downloadlinux-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