From: Rajbinder Brar Date: Tue, 23 Sep 2014 04:46:17 +0000 (+0530) Subject: Staging: vt6656: Merge two lines of code into one X-Git-Tag: fixes-for-v3.18-merge-window~15^2~243 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b9999ec18c569d485bdaee86224214eeef1d2b0;p=pandora-kernel.git Staging: vt6656: Merge two lines of code into one This patch merges an assignment with an immediately following return of the assigned variable. The following Coccinelle semantic patch was used to make this transformation: @@ expression ret; identifier f; @@ -ret= +return f(...); -return ret; A variable that became unused due to this transformation was also removed. Signed-off-by: Rajbinder Brar Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed