projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93c0584
)
mac80211: Fix compilation warning when CONFIG_INET is not set
author
Juuso Oikarinen
<juuso.oikarinen@nokia.com>
Tue, 3 Aug 2010 05:22:25 +0000
(08:22 +0300)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 4 Aug 2010 19:28:37 +0000
(15:28 -0400)
The warning is:
net/mac80211/main.c:688: warning: label ‘fail_ifa’ defined but not used
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/main.c
patch
|
blob
|
blame
|
history
diff --git
a/net/mac80211/main.c
b/net/mac80211/main.c
index 7cc4f913a43112cfd789bf841163f174aae059ba..798a91b100cc277d154bde089eb6f4745f47b6b6 100644
(file)
--- a/
net/mac80211/main.c
+++ b/
net/mac80211/main.c
@@
-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);