diff options
author | Filipe Manana <fdmanana@suse.com> | 2023-09-08 20:20:28 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-10-12 17:44:06 +0300 |
commit | e721043a988c524e4771c43246d2f7a1996bb020 (patch) | |
tree | 3c9a276ecc25bcb925924c5a2009c6945f1f68e5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7cce0d690d4e4e3278bd4cf3fd3a168ae62a1419 (diff) | |
download | linux-e721043a988c524e4771c43246d2f7a1996bb020.tar.xz |
btrfs: remove pointless 'ref_root' variable from run_delayed_data_ref()
The 'ref_root' variable, at run_delayed_data_ref(), is not really needed
as we can always use ref->root directly, plus its initialization to 0 is
completely pointless as we assign it ref->root before its first use.
So just drop that variable and use ref->root directly.
This may help avoid some warnings with clang tools such as the one
reported/fixed by commit 966de47ff0c9 ("btrfs: remove redundant
initialization of variables in log_new_ancestors").
Reviewed-by: Josef Bacik <josef@toxicpanda.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