linux/drivers/staging/rtl8723au
Janani Ravichandran 382f00561c 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>
2016-02-20 15:04:11 -08:00
..
core staging: rtl8723au: whitespace and blank line cleaning 2016-02-20 15:04:11 -08:00
hal staging: rtl8723au: Remove unnecessary else following return 2016-02-20 15:04:11 -08:00
include Staging: rtl8723au: Replace header files 2016-02-14 16:49:09 -08:00
os_dep staging: rtl8723au: whitespace and blank line cleaning 2016-02-20 15:04:11 -08:00
Kconfig
Makefile staging: rtl8723au: Fold rtw_ack_tx_done23a() into rtw23a_sctx_done_err() 2014-12-02 16:40:00 -08:00
TODO staging: rtl8*: fix my email address up 2016-02-11 19:33:46 -08:00