aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJanani Ravichandran <[email protected]>2016-02-18 16:52:45 -0500
committerGreg Kroah-Hartman <[email protected]>2016-02-20 14:39:54 -0800
commit7d51a7dab7486a5961ca30909531f70155043a31 (patch)
tree4bcfc272af073f1f81c3e086d04dd2cb7b82c638 /tools/perf/scripts/python
parent496baea013b6c9ef7eaf80facc50b4317e5cd39c (diff)
staging: lustre: lustre: Remove unnecessary else after return
Else is unnecessary when there is a return statement in the corresponding if block. Coccinelle patch used: @rule1@ expression e1; @@ if (e1) { ... return ...; } - else{ ... - } @rule2@ expression e2; statement s1; @@ if(e2) { ... return ...; } - else s1 Signed-off-by: Janani Ravichandran <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions