commit | 9eac685dbc3fe955c4896605cd16e24612494576 | [log] [tgz] |
---|---|---|
author | Chi Pham <fempsci@gmail.com> | Sun Mar 09 14:11:11 2014 +0100 |
committer | Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> | Mon Mar 10 14:56:07 2014 -0700 |
tree | 3b426c45d1892f5f8af9d0c2d26797eb534f76e7 | |
parent | 9b6f0c4b98171f2a354e1e461fefa90ec2baafa6 [diff] |
staging:vt6656: Removed assignment in if statement. The following coccinelle script found the match: @@ expression E0, E1, E2; statement S0; @@ - if ((E1 = E2) == E0) + E1 = E2; + if (E1 == E0) S0 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>