From: Vaishali Thakkar Date: Sun, 14 Sep 2014 08:16:37 +0000 (+0530) Subject: Staging: rtl8188eu: os_dep: Compression of lines for immediate return X-Git-Tag: fixes-for-v3.18-merge-window~15^2~375 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1703c17b8a02b7d1dd3080c4ce9d41a83e95a071;p=pandora-kernel.git 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 Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed