Skip to content
Snippets Groups Projects
Commit 0ba857ad authored by Johannes Berg's avatar Johannes Berg
Browse files

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: default avatarLuis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent d4f2c881
No related branches found
No related tags found
No related merge requests found
...@@ -2322,10 +2322,6 @@ int __init regulatory_init(void) ...@@ -2322,10 +2322,6 @@ int __init regulatory_init(void)
* errors as non-fatal. * errors as non-fatal.
*/ */
pr_err("kobject_uevent_env() was unable to call CRDA during init\n"); 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
} }
/* /*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment