commit | b5bed1b6e117b5a29a71b052d6f96f948b44a50a | [log] [tgz] |
---|---|---|
author | Chi Pham <fempsci@gmail.com> | Sun Mar 09 14:40:28 2014 +0100 |
committer | Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> | Mon Mar 10 14:56:33 2014 -0700 |
tree | 69ef9e94b6789cbd5ac3a4c7df6475c4a58fd48f | |
parent | 02692986431be8754bc5b2067384dda196deed46 [diff] |
staging:wlags49_h2: Removed assignments from if statements. 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 <fempsci@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>