Commit [9eac68]  Maximize  Restore  History

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>

Chi Pham Chi Pham 2014-03-09

Peter P Waskiewicz Jr Peter P Waskiewicz Jr 2014-03-10

changed drivers/staging/vt6656/iwctl.c
drivers/staging/vt6656/iwctl.c Diff Switch to side-by-side view
Loading...