From: Inaky Perez-Gonzalez Date: Thu, 11 Jun 2009 18:12:48 +0000 (-0700) Subject: wimax: fix warning caused by not checking retval of rfkill_set_hw_state() X-Git-Tag: v3.0~8655^2~111^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d2f4c10544231c3681f937a1e511f4780b4b39af;p=platform%2Fkernel%2Flinux-amlogic.git 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 --- diff --git a/net/wimax/op-rfkill.c b/net/wimax/op-rfkill.c index bb102e4..70ef4df 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, 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); }