aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMatthew Kilgore <[email protected]>2016-09-27 23:07:54 -0400
committerGreg Kroah-Hartman <[email protected]>2016-09-28 08:10:36 +0200
commit8681a1d47b3332b4dbeb0321b347af1bb7cb0cd6 (patch)
treecb75414f76b396759587741c1668b429f55b3229 /tools/perf/scripts/python/stackcollapse.py
parent1d0a2c5f2c53dc116e4e5dc9ef4661baf2f597ec (diff)
Fixes: 3d44a78f0d8b ("staging: rtl8712: Remove unnecessary 'else'")
An "unnecessary" 'else' was removed due to complains from checkpatch.pl as it is preceded by a 'return', however the 'else' branch is necessary as an earlier branch of the 'if' falls through. By removing the 'else', that route now hits the 'break' and the 'while' loop exits prematurely. This commit reverts that change and puts the original 'else' back in place. Signed-off-by: Matthew Kilgore <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions