diff options
| author | 2016-02-18 17:56:53 -0500 | |
|---|---|---|
| committer | 2016-02-20 15:04:11 -0800 | |
| commit | 382f00561cf322d63bd5f946f226ec630ee9866a (patch) | |
| tree | fd80a0eda7729b279865489b78f71fb05c0a9953 /include/linux/debugobjects.h | |
| parent | staging: rtl8723au: whitespace and blank line cleaning (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 <janani.rvchndrn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
