From: Ben Greear <greearb@xxxxxxxxxxxxxxx> These are too important to miss, and if we ever do have some that are overly verbose, could ratelimit the call to ath10k_warn instead of doing the ratelimit inside of ath10k_warn. Signed-off-by: Ben Greear <greearb@xxxxxxxxxxxxxxx> --- drivers/net/wireless/ath/ath10k/debug.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/debug.c b/drivers/net/wireless/ath/ath10k/debug.c index 6debd28..c922e39 100644 --- a/drivers/net/wireless/ath/ath10k/debug.c +++ b/drivers/net/wireless/ath/ath10k/debug.c @@ -89,8 +89,7 @@ int ath10k_warn(const char *fmt, ...) va_start(args, fmt); vaf.va = &args; - if (net_ratelimit()) - ret = ath10k_printk(KERN_WARNING, "%pV", &vaf); + ret = ath10k_printk(KERN_WARNING, "%pV", &vaf); trace_ath10k_log_warn(&vaf); -- 1.7.11.7 -- 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