commit | 382f00561cf322d63bd5f946f226ec630ee9866a | [log] [tgz] |
---|---|---|
author | Janani Ravichandran <janani.rvchndrn@gmail.com> | Thu Feb 18 17:56:53 2016 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Feb 20 15:04:11 2016 -0800 |
tree | fd80a0eda7729b279865489b78f71fb05c0a9953 | |
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 <janani.rvchndrn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>