From: Tapasweni Pathak Date: Mon, 22 Sep 2014 16:33:43 +0000 (+0530) Subject: staging: rtl8712: merge lines and remove unused variable for immediate return X-Git-Tag: fixes-for-v3.18-merge-window~15^2~285 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddcb81e7419baa90fab79dbbb1b983a69a235c91;p=pandora-kernel.git staging: rtl8712: merge lines and remove unused variable for immediate return This patch merge two lines in a single line if immediate return is found. Unused variables in each case were removed manually as they are no longer needed. This is done using Coccinelle. Semantic patch used for this is as follows : @@ expression ret; identifier f; @@ -ret = +return f(...); -return ret; Signed-off-by: Tapasweni Pathak Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed