Skip to content

Commit

Permalink
wimax: fix warning caused by not checking retval of rfkill_set_hw_sta…
Browse files Browse the repository at this point in the history
…te()

Caused by an API update. The return value can be safely ignored, as
there is notthing we can do with it.

Signed-off-by: Inaky Perez-Gonzalez <[email protected]>
  • Loading branch information
Inaky Perez-Gonzalez committed Jun 11, 2009
1 parent 0bcfc5e commit d2f4c10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/wimax/op-rfkill.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ void wimax_report_rfkill_hw(struct wimax_dev *wimax_dev,
else
wimax_state = WIMAX_ST_RADIO_OFF;

rfkill_set_hw_state(wimax_dev->rfkill, state == WIMAX_RF_OFF);
result = rfkill_set_hw_state(wimax_dev->rfkill,
state == WIMAX_RF_OFF);

__wimax_state_change(wimax_dev, wimax_state);
}
Expand Down

0 comments on commit d2f4c10

Please sign in to comment.