From: Chi Pham Date: Mon, 10 Mar 2014 21:31:52 +0000 (+0100) Subject: staging: rtl8192u: Removed assignments from if statements. X-Git-Tag: v3.15-rc1~139^2~447^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09adb6e7b520991992362ccb26f92af889a117e2;p=pandora-kernel.git staging: rtl8192u: Removed assignments from if statements. Removes assignments from if statements and simplifies unnecessary 0/NULL-checking. The following coccinelle script found the match: @@ expression E0, E1, E2; statement S0; @@ - if (E0 == (E1 = E2)) + E1 = E2; + if (E1 == E0) S0 Signed-off-by: Chi Pham Acked-by: Paul E. McKenney Signed-off-by: Peter P Waskiewicz Jr --- Reading git-diff-tree failed