From: Johannes Berg Date: Mon, 3 Dec 2012 18:12:02 +0000 (+0100) Subject: regulatory: remove useless warning X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0ba857ad671aa8aa2a1276aa7a0c79abd0575146;p=linux-beck.git 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 Signed-off-by: Johannes Berg --- 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 } /*