staging: rtl8192e: remove unnecesasry ftrace-like logging
authorzhaoxiao <zhaoxiao@uniontech.com>
Fri, 30 Apr 2021 12:28:25 +0000 (20:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 May 2021 09:19:34 +0000 (11:19 +0200)
Fixed Check: Remove unnecessary ftrace-like logging by simply deleting
that statement as we have other modes of logging like ftrace.
Reported by checkpatch.

Signed-off-by: zhaoxiao <zhaoxiao@uniontech.com>
Link: https://lore.kernel.org/r/20210430122826.9899-1-zhaoxiao@uniontech.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_softmac.c
drivers/staging/rtl8192e/rtllib_wx.c

index f9a51f3..25b3d39 100644 (file)
@@ -730,7 +730,6 @@ EXPORT_SYMBOL(rtllib_act_scanning);
 /* called with ieee->lock held */
 static void rtllib_start_scan(struct rtllib_device *ieee)
 {
-       RT_TRACE(COMP_DBG, "===>%s()\n", __func__);
        if (ieee->rtllib_ips_leave_wq != NULL)
                ieee->rtllib_ips_leave_wq(ieee->dev);
 
index ab1b821..0d67d58 100644 (file)
@@ -293,8 +293,6 @@ int rtllib_wx_set_encode(struct rtllib_device *ieee,
        int i, key, key_provided, len;
        struct lib80211_crypt_data **crypt;
 
-       netdev_dbg(ieee->dev, "%s()\n", __func__);
-
        key = erq->flags & IW_ENCODE_INDEX;
        if (key) {
                if (key > NUM_WEP_KEYS)
@@ -463,8 +461,6 @@ int rtllib_wx_get_encode(struct rtllib_device *ieee,
        int len, key;
        struct lib80211_crypt_data *crypt;
 
-       netdev_dbg(ieee->dev, "%s()\n", __func__);
-
        if (ieee->iw_mode == IW_MODE_MONITOR)
                return -1;