summaryrefslogtreecommitdiff
path: root/net/wireless
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-12-03 19:12:02 +0100
committerJohannes Berg <johannes.berg@intel.com>2013-01-03 13:01:26 +0100
commit0ba857ad671aa8aa2a1276aa7a0c79abd0575146 (patch)
tree15bacb84d3977f1ec72a5e9f103d3a409808e0a2 /net/wireless
parentd4f2c8819a51f31ef0f929574ce8d80b323c6a76 (diff)
regulatory: remove useless warning
Even if it never happens and is hidden behind the debug config option, it's completely useless: the calltrace will only show module loading. Acked-by: Luis R. Rodriguez <mcgrof@do-not-panic.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
-rw-r--r--net/wireless/reg.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/wireless/reg.c b/net/wireless/reg.c
index 946cd5320ef9..b63bdf899a75 100644
--- a/net/wireless/reg.c
+++ b/net/wireless/reg.c
@@ -2322,10 +2322,6 @@ int __init regulatory_init(void)
* errors as non-fatal.
*/
pr_err("kobject_uevent_env() was unable to call CRDA during init\n");
-#ifdef CONFIG_CFG80211_REG_DEBUG
- /* We want to find out exactly why when debugging */
- WARN_ON(err);
-#endif
}
/*