From: Mahati Chamarthy Date: Sun, 21 Sep 2014 13:17:46 +0000 (+0530) Subject: Staging: rtl8192e: rtl8192e: Merges two lines of code and removes unused variable X-Git-Tag: fixes-for-v3.18-merge-window~15^2~237 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5310dc66906d2e7dc3ab6688541df1da491c578;p=pandora-kernel.git Staging: rtl8192e: rtl8192e: Merges two lines of code and removes unused variable This patch merges an assignment with an immediately following return of the assigned variable. It also removes a variable that becomes unused due to this transformation. The following Coccinelle semantic patch was used to make this transformation: @@ expression ret; identifier f; @@ -ret = +return f(...); -return ret; @@ identifier ret; type t; identifier c; @@ -t ret = c; ... when != ret when strict Signed-off-by: Mahati Chamarthy Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed