linux/drivers/staging/rtl8723au
Bhaktipriya Shridhar 19cc827b6c staging: rtl8723au: hal: 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-10 19:44:34 -08:00
..
core staging: rtl8723au: core: rtw_recv: use list_first_entry() 2016-03-10 19:44:34 -08:00
hal staging: rtl8723au: hal: Remove useless return variables 2016-03-10 19:44:34 -08:00
include Staging: rtl8723au: Replace header files 2016-02-14 16:49:09 -08:00
os_dep Staging: rtl8723au: Clean up tests if NULL returned on failure 2016-03-10 19:44:34 -08:00
Kconfig staging: rtl8723au: Remove P2P/WiFiDirect/WiFiDisplay code 2014-04-15 11:03:56 -07:00
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