1
0
Fork 0
alistair23-linux/drivers/staging/mt29f_spinand
Janani Ravichandran 55bbc4ffde staging: mt29f_spinand: Remove unneeded 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:24:51 -08:00
..
Kconfig staging: mt29f_spinand: Fix typo in Kconfig 2015-01-17 16:22:15 -08:00
Makefile
TODO
mt29f_spinand.c staging: mt29f_spinand: Remove unneeded else following return 2016-02-20 15:24:51 -08:00
mt29f_spinand.h Staging: mt29f_spinand: Prefer using the BIT macro 2015-10-26 04:09:16 +09:00