From: Johannes Berg <johannes.berg@xxxxxxxxx> Even if it never happens and is hidden behind the debug config option, it's completely useless: the calltrace will only show module loading. Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> --- net/wireless/reg.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/net/wireless/reg.c b/net/wireless/reg.c index 26eff64..999b379 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c @@ -2331,10 +2331,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 } /* -- 1.8.0 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html