linux/drivers/staging/rtl8192e
Julia Lawall 26e2fa765c staging: rtl8192e: make return of 0 explicit
Delete unnecessary use of a local variable to immediately return 0.

A simplified version of the semantic patch that fixes this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@r exists@
local idexpression ret;
expression e;
position p;
@@

-ret = 0;
... when != ret = e
return
- ret
+ 0
  ;
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-24 02:14:30 +09:00
..
rtl8192e staging: rtl8192e: make return of 0 explicit 2014-05-24 02:14:30 +09:00
dot11d.c staging: rtl8192e: Fix quoted string split across lines 2014-03-18 12:19:32 -07:00
dot11d.h
Kconfig
license
Makefile
rtl819x_BA.h
rtl819x_BAProc.c staging: rtl8192e: A word in printk is split into 2 lines 2014-04-25 16:02:00 -07:00
rtl819x_HT.h
rtl819x_HTProc.c
rtl819x_Qos.h rtl8192e: Removing unused defines in rtl819x_Qos.h 2013-12-20 11:41:28 -08:00
rtl819x_TS.h
rtl819x_TSProc.c staging: rtl8192e: Fix typo in rtl8192e 2014-04-25 16:02:00 -07:00
rtllib_crypt_ccmp.c
rtllib_crypt_tkip.c Staging rtl8192e: Fixing checkpatch error in rtllib_crypt_tkip.c 2014-01-09 10:32:18 -08:00
rtllib_crypt_wep.c
rtllib_crypt.c Staging rtl8192e: Fixing checkpatch errors 2014-01-09 10:29:37 -08:00
rtllib_crypt.h
rtllib_debug.h Staging rtl8192e: Correcting wrong usage of macro in r8192E_phy.c and removing corresponding warning in rtllib_debug.h 2014-01-09 10:32:18 -08:00
rtllib_endianfree.h rlt8192e: Removing unused defines in rltlib_endianfree.h 2013-12-20 11:41:28 -08:00
rtllib_module.c
rtllib_rx.c staging: rtl8192e: Fix typo in rtl8192e 2014-04-25 16:02:00 -07:00
rtllib_softmac_wx.c
rtllib_softmac.c staging: rtl8192e: Fix typo in rtl8192e 2014-04-25 16:02:00 -07:00
rtllib_tx.c Staging: rtl8192e: Fix Sparse Warning of invalid assignment in rtllib_tx.c 2014-03-07 16:13:39 -08:00
rtllib_wx.c
rtllib.h Staging rtl8192e: Fixing checkpatch errors 2014-01-09 10:29:37 -08:00
TODO