summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJohannes Thumshirn <jthumshirn@suse.de>2019-10-24 18:44:54 +0300
committerDavid Sterba <dsterba@suse.com>2019-11-18 19:51:45 +0300
commitf5389f330d6f28d648c51624f059b0bfdd9b1806 (patch)
treea995b50d287e8cfe172b2a68351522d06ccef889 /tools/perf/scripts/python/stackcollapse.py
parentb3470b5dbe1300dea94191ae4b7d070be9a5cdc9 (diff)
downloadlinux-f5389f330d6f28d648c51624f059b0bfdd9b1806.tar.xz
btrfs: remove cached space_info in btrfs_statfs()
In btrfs_statfs() we cache fs_info::space_info in a local variable only to use it once in a list_for_each_rcu() statement. Not only is the local variable unnecessary it even makes the code harder to follow as it's not clear which list it is iterating. Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions