aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-12-03 13:12:02 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-01-03 07:01:26 -0500
commit0ba857ad671aa8aa2a1276aa7a0c79abd0575146 (patch)
tree15bacb84d3977f1ec72a5e9f103d3a409808e0a2
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>
-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)
2322 * errors as non-fatal. 2322 * errors as non-fatal.
2323 */ 2323 */
2324 pr_err("kobject_uevent_env() was unable to call CRDA during init\n"); 2324 pr_err("kobject_uevent_env() was unable to call CRDA during init\n");
2325#ifdef CONFIG_CFG80211_REG_DEBUG
2326 /* We want to find out exactly why when debugging */
2327 WARN_ON(err);
2328#endif
2329 } 2325 }
2330 2326
2331 /* 2327 /*