aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSahil Kang <sahil.kang@asilaycomputing.com>2017-05-17 03:33:45 -0700
committerDavid Sterba <dsterba@suse.com>2017-06-19 18:25:59 +0200
commit0bef71093d4461659643ddcef431d88a078e0407 (patch)
tree3a2eee05e0849f39319001e071e05a41e218786f /tools/perf/scripts/python/stackcollapse.py
parentBtrfs: hardcode GFP_NOFS for btrfs_bio_clone_partial (diff)
downloadlinux-dev-0bef71093d4461659643ddcef431d88a078e0407.tar.xz
linux-dev-0bef71093d4461659643ddcef431d88a078e0407.zip
btrfs: Remove unnecessary branching in free-space-tree.c
Both btrfs_create_free_space_tree and btrfs_clear_free_space_tree contain: if (ret) return ret; return 0; The if statement is only false when ret equals zero, and since we return zero in such cases, we can safely remove the branching. Signed-off-by: Sahil Kang <sahil.kang@asilaycomputing.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