diff options
| author | Filipe Manana <[email protected]> | 2023-09-08 18:20:28 +0100 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2023-10-12 16:44:06 +0200 |
| commit | e721043a988c524e4771c43246d2f7a1996bb020 (patch) | |
| tree | 3c9a276ecc25bcb925924c5a2009c6945f1f68e5 /tools/perf/scripts/python/bin | |
| parent | 7cce0d690d4e4e3278bd4cf3fd3a168ae62a1419 (diff) | |
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 <[email protected]>
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions