From: Jiayi Ye Date: Mon, 20 Oct 2014 11:13:56 +0000 (+0800) Subject: staging: ft1000: ft1000-pcmcia: removed unused variable in ft1000_hw.c X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~1045 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=817c66c4f50d7b0abb3e33117777d8890ac70040;p=pandora-kernel.git staging: ft1000: ft1000-pcmcia: removed unused variable in ft1000_hw.c Variable whose value is initialized but never used is unnecessary. The following Coccinelle semantic patch removed the unused variable. @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; ...+> Signed-off-by: Jiayi Ye Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed