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)

Signed-off-by: Chi Pham <>
Acked-by: Paul E. McKenney <>
Signed-off-by: Peter P Waskiewicz Jr <>

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