Tag: b5bed1b6e117b5a29a71b052d6f96f948b44a50a

staging:wlags49_h2: Removed assignments from if statements.

Author: Chi Pham <fempsci@gmail.com> The following coccinelle script found the match: @@ expression E0, E1, E2; statement S0, S1; @@ – if ((E1 = E2) != E0) + E1 = E2; + if (E1 != E0) S0 else S1 Signed-off-by: Chi Pham Acked-by: Paul E. McKenney Signed-off-by: Peter P Waskiewicz Jr — drivers/staging/wlags49_h2/wl_main.c | 3 …

Continue reading