diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2016-12-15 21:22:58 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-12-30 16:54:20 +0300 |
commit | b03d968b66440652f8cfd73b163cc9ccd50afd7d (patch) | |
tree | e89699bd6caa48b9fed27cd2982e2d4b28e8548a /drivers/net/wireless/realtek/rtlwifi/rc.c | |
parent | 531940f9644da798f04382aeb5e8929295dfde61 (diff) | |
download | linux-b03d968b66440652f8cfd73b163cc9ccd50afd7d.tar.xz |
rtlwifi: Remove RT_TRACE messages that use DBG_EMERG
These messages are always logged and represent error conditions, thus
we can use pr_err().
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/realtek/rtlwifi/rc.c')
-rw-r--r-- | drivers/net/wireless/realtek/rtlwifi/rc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/realtek/rtlwifi/rc.c b/drivers/net/wireless/realtek/rtlwifi/rc.c index ce8621a0f7aa..951d257cd4c0 100644 --- a/drivers/net/wireless/realtek/rtlwifi/rc.c +++ b/drivers/net/wireless/realtek/rtlwifi/rc.c @@ -267,8 +267,7 @@ static void *rtl_rate_alloc_sta(void *ppriv, rate_priv = kzalloc(sizeof(struct rtl_rate_priv), gfp); if (!rate_priv) { - RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, - "Unable to allocate private rc structure\n"); + pr_err("Unable to allocate private rc structure\n"); return NULL; } |