summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorAlex Elder2016-05-24 13:34:49 -0500
committerGreg Kroah-Hartman2016-05-27 11:28:16 -0700
commit66394300c37e9321a913f269021b3d6c92d786ad (patch)
tree207068165730132d4bccfe4c7b6a8d05ac35829e /tools/perf/scripts/python/bin/stackcollapse-report
parentebc9e3750d3112e3a84fe65386cb0e5deb994e18 (diff)
greybus: eliminate unneeded null check
Coccinelle points out that debugfs_remove_recursive() handles a null argument properly, so there's no need to check for NULL before making the call. I have verified this is true of the kernel we're now working with (arche-6.0). Signed-off-by: Alex Elder <elder@linaro.org> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions