Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2f4c105 authored by Inaky Perez-Gonzalez's avatar Inaky Perez-Gonzalez
Browse files

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: default avatarInaky Perez-Gonzalez <inaky@linux.intel.com>
parent 0bcfc5ef
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);
	}