]> git.karo-electronics.de Git - linux-beck.git/commitdiff
regulatory: remove useless warning
authorJohannes Berg <johannes.berg@intel.com>
Mon, 3 Dec 2012 18:12:02 +0000 (19:12 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:26 +0000 (13:01 +0100)
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>
net/wireless/reg.c

index 946cd5320ef91f8805cde4c0a5a6ac6de41a80e6..b63bdf899a7585f64acd03346b534a27521adf6a 100644 (file)
@@ -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
        }
 
        /*