From 09adb6e7b520991992362ccb26f92af889a117e2 Mon Sep 17 00:00:00 2001 From: Chi Pham Date: Mon, 10 Mar 2014 22:31:52 +0100 Subject: [PATCH] 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-format-patch failed