From: Aya Mahfouz Date: Thu, 26 Feb 2015 09:30:50 +0000 (+0200) Subject: staging: rtl8723au: hal: rewrite the right hand side of an assignment X-Git-Tag: omap-for-v4.2/o2_dc~155^2~138^2~898 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5092450c9dee65a046fdf6ff6e9f25c05f231840;p=pandora-kernel.git staging: rtl8723au: hal: 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