linux/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
dot11d.c staging: rtl8192e: fixed coding style issues 2014-08-30 13:54:03 -07:00
dot11d.h
Kconfig
license
Makefile
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
rtl819x_TS.h
rtl819x_TSProc.c Staging: rtl8192e: Fix space before semicolon warning 2014-09-19 17:14:30 -07:00
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_crypt.c
rtllib_crypt.h
rtllib_debug.h
rtllib_endianfree.h
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_wx.c staging: rtl8192e: fixed coding style issues 2014-08-30 13:54:03 -07:00
rtllib_softmac.c Staging: rtl8192e: Fix else is not useful warning style 2014-09-23 13:51:45 -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
rtllib.h staging: rtl8192e: fixed coding style issues 2014-08-30 13:54:03 -07:00
TODO