summaryrefslogtreecommitdiffstats
path: root/net
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
parentregulatory: remove redundant isalpha() check (diff)
downloadlinux-0ba857ad671aa8aa2a1276aa7a0c79abd0575146.tar.xz
linux-0ba857ad671aa8aa2a1276aa7a0c79abd0575146.zip
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')
-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
}
/*