From: Mahati Chamarthy Date: Fri, 26 Sep 2014 22:42:28 +0000 (+0530) Subject: Staging: rtl8192e: rtl8192e: Remove assigned unused variable X-Git-Tag: fixes-for-v3.18-merge-window~15^2~119 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ab8609b92f1287957ae44c09de37caaf83251e5;p=pandora-kernel.git Staging: rtl8192e: rtl8192e: Remove assigned unused variable This patch removes an initialized variable which has never been used. The following Coccinelle semantic patch was used to make this transformation: @e@ identifier i; position p; type T; @@ extern T i@p; @@ type T; identifier i; constant C; position p != e.p; @@ - T i@p; <+... when != i - i = C; ...+> The braces around if and else which become unnecessary after the transformation were also removed. Signed-off-by: Mahati Chamarthy Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed