diff options
author | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-06-11 14:12:48 -0400 |
---|---|---|
committer | Inaky Perez-Gonzalez <inaky@linux.intel.com> | 2009-06-11 14:12:48 -0400 |
commit | d2f4c10544231c3681f937a1e511f4780b4b39af (patch) | |
tree | 0805e8ce546a5b5edb5594302b9151c6dd8d5b8a /net/wimax/op-rfkill.c | |
parent | 0bcfc5ef016e8217709c65c5a7335e40ceabc99c (diff) |
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>
Diffstat (limited to 'net/wimax/op-rfkill.c')
-rw-r--r-- | net/wimax/op-rfkill.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/wimax/op-rfkill.c b/net/wimax/op-rfkill.c index bb102e4aa3e9..70ef4df863b9 100644 --- a/net/wimax/op-rfkill.c +++ b/net/wimax/op-rfkill.c | |||
@@ -113,7 +113,8 @@ void wimax_report_rfkill_hw(struct wimax_dev *wimax_dev, | |||
113 | else | 113 | else |
114 | wimax_state = WIMAX_ST_RADIO_OFF; | 114 | wimax_state = WIMAX_ST_RADIO_OFF; |
115 | 115 | ||
116 | rfkill_set_hw_state(wimax_dev->rfkill, state == WIMAX_RF_OFF); | 116 | result = rfkill_set_hw_state(wimax_dev->rfkill, |
117 | state == WIMAX_RF_OFF); | ||
117 | 118 | ||
118 | __wimax_state_change(wimax_dev, wimax_state); | 119 | __wimax_state_change(wimax_dev, wimax_state); |
119 | } | 120 | } |