alistair23-linux/drivers/staging
Bhaktipriya Shridhar 235a010362 staging: rtl8188eu: core: Remove useless return variables
This patch removes unnecessary return variables and compresses the
return logic.
The coccinelle script that finds and fixes this issue is:

@@ type T; identifier i,f; constant C; @@
- T i;
...when != i
when strict
( return -C;
|
- i =
+ return
f(...);
- return i;
)

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-11 22:09:09 -08:00
..
android staging: android: Remove unneeded else following a return 2016-02-20 15:24:51 -08:00
board Staging: board: Blank lines aren't necessary before a close brace 2016-02-07 19:57:22 -08:00
clocking-wizard Staging: clocking-wizard: CHECK:Please use a blank line 2016-02-07 20:05:31 -08:00
comedi Revert "staging: comedi: drivers: Remove unneeded NULL check before kfree()" 2016-03-10 19:35:54 -08:00
dgnc staging: dgnc: convert to wait_event_interruptible_timeout 2016-02-11 19:51:46 -08:00
emxx_udc staging: emxx_udc: Remove header file 2016-02-22 12:03:22 -08:00
fbtft staging: fbtft: Fix block comment coding style 2016-02-20 15:09:57 -08:00
fsl-mc staging: fsl-mc: Remove unneeded else following a return 2016-02-20 15:14:59 -08:00
fwserial staging: fwserial: (coding-style) rewrite comparisons to NULL as "!fifo->data" 2016-02-07 19:36:14 -08:00
gdm72xx Staging: gdm72xx: remove duplicate condition 2016-03-05 14:48:04 -08:00
gdm724x Staging: gdm724x: Replace random_ether_addr with eth_random_addr 2016-03-05 14:48:04 -08:00
goldfish staging: goldfish: audio: fix compiliation on arm 2016-03-11 22:09:09 -08:00
gs_fpgaboot Staging: gs_fpgaboot: fix data types in gs_fpgaboot.c 2016-02-07 20:07:29 -08:00
i4l isdn: i4l: move active-isdn drivers to staging 2016-03-05 15:00:38 -08:00
iio Third set of IIO new device support, features and cleanups for the 4.6 cycle. 2016-03-01 16:31:55 -08:00
lustre Staging: lustre: Use list_{next/prev}_entry instead of list_entry 2016-03-11 22:09:09 -08:00
media staging: media: davinci_vpfe: Remove unnecessary else after return 2016-03-11 22:09:09 -08:00
most staging: most: hdm-usb: Remove invalid reference error 2016-03-11 22:09:09 -08:00
mt29f_spinand staging: mt29f_spinand: Remove unneeded else following return 2016-02-20 15:24:51 -08:00
netlogic staging: netlogic: Return zero pointer after failed kmalloc 2016-02-20 14:59:37 -08:00
nvec staging: nvec: Fix alignment with the open parenthesis 2016-02-20 15:28:48 -08:00
octeon staging: octeon: Fix braces in condition statement 2016-03-11 22:09:09 -08:00
octeon-usb staging: octeon-usb: update TODO 2016-02-25 22:38:16 -08:00
rdma staging: rdma: hfi1: Remove header file 2016-02-22 12:03:22 -08:00
rtl8188eu staging: rtl8188eu: core: Remove useless return variables 2016-03-11 22:09:09 -08:00
rtl8192e staging: rtl8192e: rtllib_crypt_tkip: Remove unnecessary else after return 2016-03-11 22:09:09 -08:00
rtl8192u staging: rtl8192u: ieee80211_crypt: Remove unnecessary else after return 2016-03-11 22:09:09 -08:00
rtl8712 Staging: rtl8712: Remove function r8712_setptm_cmd and r8712_gettssi_cmd 2016-03-11 22:09:09 -08:00
rtl8723au staging: rtl8723au: hal: Remove useless return variables 2016-03-10 19:44:34 -08:00
rts5208 staging: rts5208: Change form of NULL comparisons 2016-03-11 22:09:09 -08:00
skein skein: fix coding style 2015-10-24 19:30:12 -07:00
slicoss Staging: slicoss: changes comparisons to NULL in slicoss.c 2016-03-11 22:09:09 -08:00
sm750fb Staging: sm750fb: Remove unused functions 2016-03-11 22:09:09 -08:00
speakup staging: speakup: Remove unnecessary test in if condition 2016-03-05 14:48:04 -08:00
ste_rmi4 staging: ste_rmi4: simplify NULL tests 2016-03-11 22:09:09 -08:00
unisys staging: unisys: visornic: Remove unnecessary else after return 2016-03-10 19:29:45 -08:00
vme drivers: staging: vme: Deleted casting to (void *) 2015-11-24 15:30:50 -08:00
vt6655 Staging: vt6655: Remove & from function name. 2016-03-10 19:21:18 -08:00
vt6656 staging: vt6656: Remove unnecessary parentheses 2016-03-10 19:21:18 -08:00
wilc1000 staging: wilc1000: Possible unnecessary 'out of memory' message 2016-03-11 22:09:09 -08:00
wlan-ng staging: wlan-ng: fix NULL comparison 2016-02-20 14:53:27 -08:00
xgifb staging: xgifb: Fix comment style 2016-02-14 17:01:26 -08:00
Kconfig isdn: i4l: move active-isdn drivers to staging 2016-03-05 15:00:38 -08:00
Makefile staging: lustre: make lustre dependent on LNet 2016-03-10 17:48:53 -08:00