From: Jiayi Ye Date: Sat, 25 Oct 2014 12:05:43 +0000 (+0800) Subject: staging: rtl8192e: delete successive assignments to the same location X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~908 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=427eed0244010c64f6905212f48258d3631bcb4d;p=pandora-kernel.git staging: rtl8192e: delete successive assignments to the same location Successive assignments to the same location is meaningless and can be deleted. The Coccinelle semantic patch was used to find cases. @@ expression e1,e2,e3; @@ ( (<+...e1++...+>)=e2; | (<+...e1--...+>)=e2; | (<+...++e1...+>)=e2; | (<+...--e1...+>)=e2; | e1=e2; e1 = <+...e1...+>; | *e1=e2; *e1=e3; ) Signed-off-by: Jiayi Ye Reviewed-by: Josh Triplett Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed