Commit [b5bed1]  Maximize  Restore  History

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 <>
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/wlags49_h2/wl_main.c
drivers/staging/wlags49_h2/wl_main.c Diff Switch to side-by-side view

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks