diff options
| author | Janani Ravichandran <[email protected]> | 2016-02-18 17:56:53 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-02-20 15:04:11 -0800 |
| commit | 382f00561cf322d63bd5f946f226ec630ee9866a (patch) | |
| tree | fd80a0eda7729b279865489b78f71fb05c0a9953 /tools/perf/scripts/python/syscall-counts.py | |
| parent | f0eba5167bb0010a0a83c0868acf593de762362a (diff) | |
staging: rtl8723au: Remove unnecessary else following return
Remove unnecessary else 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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions