From: Chi Pham Date: Sun, 9 Mar 2014 13:55:14 +0000 (+0100) Subject: staging:media: Removed assignments from if statements. X-Git-Tag: v3.15-rc1~139^2~143 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86a7dacc8f8dfc93bdbbb3ec3ae53e9bae83556f;p=pandora-kernel.git staging:media: Removed assignments from if statements. The following coccinelle script found the match: @simple@ expression E1, E2; statement S1, S2; @@ + E1 = E2; if ( - (E1 = E2) + E1 ) S1 else S2 @left@ expression E0, E1, E2; statement S0, S1; @@ - if ((E1 = E2) < E0) + E1 = E2; + if (E1 < E0) S1 Signed-off-by: Chi Pham Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed