From: Aya Mahfouz Date: Thu, 26 Feb 2015 09:36:56 +0000 (+0200) Subject: staging: rtl8712: rewrite the right hand side of an assignment X-Git-Tag: omap-for-v4.1/fixes-rc1~165^2~138^2~894 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c7c5d800e380e28deb9e6dfac8d66a6c4f4d3c3;p=pandora-kernel.git staging: rtl8712: rewrite the right hand side of an assignment This patch rewrites the right hand side of an assignment for expressions of the form: a = (a b); to be: a = b; where = << | >>. This issue was detected and resolved using the following coccinelle script: @@ identifier i; expression e; @@ -i = (i >> e); +i >>= e; @@ identifier i; expression e; @@ -i = (i << e); +i <<= e; Signed-off-by: Aya Mahfouz Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed