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

Commit 93c08c32 authored by Juuso Oikarinen's avatar Juuso Oikarinen Committed by John W. Linville
Browse files

mac80211: Fix compilation warning when CONFIG_INET is not set



The warning is:
  net/mac80211/main.c:688: warning: label ‘fail_ifa’ defined but not used

Signed-off-by: default avatarJuuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 93c0584c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -685,10 +685,12 @@ int ieee80211_register_hw(struct ieee80211_hw *hw)

	return 0;

#ifdef CONFIG_INET
 fail_ifa:
	pm_qos_remove_notifier(PM_QOS_NETWORK_LATENCY,
			       &local->network_latency_notifier);
	rtnl_lock();
#endif
 fail_pm_qos:
	ieee80211_led_exit(local);
	ieee80211_remove_interfaces(local);