2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-08 05:34:29 +08:00
linux-next/drivers/staging/android
Janani Ravichandran 5f9001dc42 staging: android: Remove unneeded else following a 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
..
ion ion:synchronize debugfs callback and ion_client_destroy 2016-02-07 17:34:58 -08:00
trace staging/android: remove SYNC_WAIT ioctl 2016-02-07 17:34:58 -08:00
uapi staging/android: remove len field from struct sync_fence_info 2016-02-07 17:34:58 -08:00
ashmem.c staging: ashmem: Avoid deadlock with mmap/shrink 2016-02-07 17:34:58 -08:00
ashmem.h
Kconfig staging/android: move SW_SYNC_USER to a debugfs file 2016-02-07 17:34:58 -08:00
lowmemorykiller.c staging: lowmemorykiller: Make default lowmemorykiller debug message useful 2016-02-07 17:34:58 -08:00
Makefile staging: Remove logger and alarm-dev from android Makefile 2015-01-28 11:32:39 -08:00
sw_sync.c staging/android: remove driver_data from struct sync_fence_info 2016-02-07 17:34:58 -08:00
sw_sync.h staging/android: remove struct sync_pt 2016-02-07 17:34:58 -08:00
sync_debug.c drivers/staging/android: don't use modular references in sync_debug.c 2016-02-14 16:35:00 -08:00
sync.c staging: android: Remove unneeded else following a return 2016-02-20 15:24:51 -08:00
sync.h staging/android: remove driver_data from struct sync_fence_info 2016-02-07 17:34:58 -08:00
timed_gpio.c staging: android: remove multiple blank lines 2015-11-15 20:02:47 -08:00
timed_gpio.h
timed_output.c drivers/staging: make android timed_output.c explicitly non-modular 2015-10-12 21:12:17 -07:00
timed_output.h
TODO staging/android: add TODO to de-stage android sync framework 2015-12-14 11:05:45 -08:00