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