mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-04 04:06:26 +00:00
wimax: fix warning caused by not checking retval of rfkill_set_hw_state()
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 <inaky@linux.intel.com>
This commit is contained in:
parent
0bcfc5ef01
commit
d2f4c10544
@ -113,7 +113,8 @@ void wimax_report_rfkill_hw(struct wimax_dev *wimax_dev,
|
|||||||
else
|
else
|
||||||
wimax_state = WIMAX_ST_RADIO_OFF;
|
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);
|
__wimax_state_change(wimax_dev, wimax_state);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user