diff options
author | 2020-09-05 01:34:34 +0800 | |
---|---|---|
committer | 2020-10-07 12:12:22 +0200 | |
commit | e493e8f9bcb5f6cf00f94d30eddc43c5be731ff4 (patch) | |
tree | 4f08eed6c7ab9a7ccf73c97acb91ce1cf25cdf8e /tools/perf/scripts/python/flamegraph.py | |
parent | btrfs: remove tmp variable for list traversal in btrfs_init_dev_replace_tgtdev (diff) | |
download | wireguard-linux-e493e8f9bcb5f6cf00f94d30eddc43c5be731ff4.tar.xz wireguard-linux-e493e8f9bcb5f6cf00f94d30eddc43c5be731ff4.zip |
btrfs: remove unnecessary tmp variable in btrfs_assign_next_active_device()
We can check the argument value directly, no need for the temporary
variable.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions