linux/drivers/staging/rtl8188eu
Vaishali Thakkar 1703c17b8a Staging: rtl8188eu: os_dep: Compression of lines for immediate return
This patch compresses two lines in to a single line in file rtw_android.c
if immediate return statement is found. It also removes variable bytes_written as
it is no longer needed.

It is done using script Coccinelle. And coccinelle uses following semantic
patch for this compression function:

@@
expression ret;
identifier f;
@@

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

Signed-off-by: Vaishali Thakkar<vthakkar1994@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-09-19 16:26:01 -07:00
..
core staging: rtl8188eu: core: Fixed wrong space error. 2014-09-19 16:26:01 -07:00
hal staging: rtl8188eu: Remove HalPhyRf_8188e.c 2014-09-08 14:05:51 -07:00
include staging:rtl8188eu: Fix sparse warning cast to restricted __le16 2014-09-11 14:56:51 -07:00
os_dep Staging: rtl8188eu: os_dep: Compression of lines for immediate return 2014-09-19 16:26:01 -07:00
Kconfig staging: rtl8188eu: Remove P2P support 2014-07-09 21:08:47 -07:00
Makefile staging: rtl8188eu: Remove HalPhyRf_8188e.c 2014-09-08 14:05:51 -07:00
TODO staging: Additional item for rtl8188eu TODO list 2014-02-14 09:19:53 -08:00