diff options
| author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2010-08-03 01:22:25 -0400 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2010-08-04 15:28:37 -0400 |
| commit | 93c08c32914264f539baf7f04cce310a0dd30a7a (patch) | |
| tree | c59d790b05399ff4ae247f80d00cc339550bf232 | |
| parent | 93c0584ca92a76bd458c7fd505b1747901315156 (diff) | |
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: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
| -rw-r--r-- | net/mac80211/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 7cc4f913a431..798a91b100cc 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
| @@ -685,10 +685,12 @@ int ieee80211_register_hw(struct ieee80211_hw *hw) | |||
| 685 | 685 | ||
| 686 | return 0; | 686 | return 0; |
| 687 | 687 | ||
| 688 | #ifdef CONFIG_INET | ||
| 688 | fail_ifa: | 689 | fail_ifa: |
| 689 | pm_qos_remove_notifier(PM_QOS_NETWORK_LATENCY, | 690 | pm_qos_remove_notifier(PM_QOS_NETWORK_LATENCY, |
| 690 | &local->network_latency_notifier); | 691 | &local->network_latency_notifier); |
| 691 | rtnl_lock(); | 692 | rtnl_lock(); |
| 693 | #endif | ||
| 692 | fail_pm_qos: | 694 | fail_pm_qos: |
| 693 | ieee80211_led_exit(local); | 695 | ieee80211_led_exit(local); |
| 694 | ieee80211_remove_interfaces(local); | 696 | ieee80211_remove_interfaces(local); |
