linux/drivers/staging/ks7010
sayli karnik 7d359a847c staging: ks7010: Remove unnecessary variable used to store return value
This patch removes an unnecessary variable used to store return values
in order to reduce memory usage.
Done using coccinelle:
@@
type T;
constant C;
identifier ret;
@@
- T ret = C;
... when != ret
return
- ret
+ C
;

Signed-off-by: sayli karnik <karniksayli1995@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-22 11:54:48 +02:00
..
eap_packet.h staging: ks7010: cleanup file headers 2016-06-07 22:42:53 -07:00
Kconfig staging: ks7010: remove custom firmware loader 2016-06-07 22:42:53 -07:00
ks7010_sdio.c staging: ks7010: Remove unnecessary variable used to store return value 2016-09-22 11:54:48 +02:00
ks7010_sdio.h staging: ks7010: drop private handler for driver version 2016-06-18 19:45:55 -07:00
ks_hostif.c Staging: ks7010: Use "foo *bar" instead of "foo * bar" 2016-09-20 13:56:17 +02:00
ks_hostif.h Staging: ks7010: Remove extern keyword from function declaration 2016-09-17 23:36:53 +02:00
ks_wlan_ioctl.h Staging: ks7010: Remove extern keyword from function declaration 2016-09-17 23:36:53 +02:00
ks_wlan_net.c Staging: ks7010: Remove extern keyword from function declaration 2016-09-17 23:36:53 +02:00
ks_wlan.h Staging: ks7010: Remove extern keyword from function declaration 2016-09-17 23:36:53 +02:00
Makefile staging: ks7010: remove cfg file handling 2016-06-18 19:45:55 -07:00
michael_mic.c Staging: ks7010: michael_mic: Use "foo *bar" instead of "foo * bar". 2016-09-20 13:56:17 +02:00
michael_mic.h Staging: ks7010: Use "foo *bar" instead of "foo * bar". 2016-09-20 13:56:17 +02:00
TODO staging: ks7010: remove cfg file handling 2016-06-18 19:45:55 -07:00