linux-sg2042/drivers/staging/rtl8192e
Mahati Chamarthy d8e186cebc Staging: rtl8192e: rtl8192e: Merge two lines and remove unused variable
This patch merges an assignment with an immediately following return of
the assigned variable. It also removes variables that became unused due to this transformation.
The following Coccinelle semantic patch was used to make this transformation:

@r@
identifier ret;
identifier f;
@@

-ret =
+return
     f(...);
-return ret;

@@
identifier r.ret;
expression e1;
type t;
@@

(
-t ret = e1;
|
-t ret;
)
 ... when != ret
     when strict

Signed-off-by: Mahati Chamarthy <mahati.chamarthy@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-09-23 20:32:43 -07:00
..
rtl8192e Staging: rtl8192e: rtl8192e: Merge two lines and remove unused variable 2014-09-23 20:32:43 -07:00
Kconfig
Makefile
TODO
dot11d.c staging: rtl8192e: fixed coding style issues 2014-08-30 13:54:03 -07:00
dot11d.h staging:rtl8192e: Rewrite macro definition as static inline function. 2013-11-10 12:05:47 -08:00
license
rtl819x_BA.h
rtl819x_BAProc.c Staging: rtl8192e: Fix void function return statements style warning 2014-09-19 17:14:30 -07:00
rtl819x_HT.h
rtl819x_HTProc.c Staging: rtl8192e: Fix printk style warning 2014-09-19 17:14:30 -07:00
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 space before semicolon warning 2014-09-19 17:14:30 -07:00
rtllib.h staging: rtl8192e: fixed coding style issues 2014-08-30 13:54:03 -07:00
rtllib_crypt.c Staging rtl8192e: Fixing checkpatch errors 2014-01-09 10:29:37 -08:00
rtllib_crypt.h
rtllib_crypt_ccmp.c Staging: rtl8192e: Fix style warnings relating to printk(KERN_DEBUG 2014-09-19 17:11:06 -07:00
rtllib_crypt_tkip.c staging: rtl8192e: fixed coding style issues 2014-08-30 13:54:03 -07:00
rtllib_crypt_wep.c Staging: rtl8192e: Fix printk debug style warning 2014-09-19 17:14:30 -07:00
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 staging: rtl8192e: fixed coding style issues 2014-08-30 13:54:03 -07:00
rtllib_rx.c Staging: rtl8192e: Fix __constant_htons to htons style warning 2014-09-19 17:54:04 -07:00
rtllib_softmac.c Staging: rtl8192e: Fix else is not useful warning style 2014-09-23 13:51:45 -07:00
rtllib_softmac_wx.c staging: rtl8192e: fixed coding style issues 2014-08-30 13:54:03 -07:00
rtllib_tx.c staging: rtl8192e: fixed coding style issues 2014-08-30 13:54:03 -07:00
rtllib_wx.c staging: rtl8192e: fixed coding style issues 2014-08-30 13:54:03 -07:00