Skip to content

Commit

Permalink
regulatory: remove useless warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Berg committed Jan 3, 2013
1 parent d4f2c88 commit 0ba857a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions net/wireless/reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

/*
Expand Down

0 comments on commit 0ba857a

Please sign in to comment.