Tag: 09adb6e7b520991992362ccb26f92af889a117e2

staging: rtl8192u: Removed assignments from if statements.

Author: Chi Pham <fempsci@gmail.com> 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 …

Continue reading