staging: rtl8188eu: remove all DBG_88E_LEVEL calls from core/rtw_ioctl_set.c
authorPhillip Potter <phil@philpotter.co.uk>
Wed, 23 Jun 2021 23:48:56 +0000 (00:48 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jun 2021 12:43:06 +0000 (14:43 +0200)
Remove all DBG_88E_LEVEL calls from core/rtw_ioctl_set.c as this macro is
unnecessary, and these calls are dubious in terms of necessity.
Removing all calls will ultimately allow the removal of the macro
itself.

Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210623234902.7411-4-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_ioctl_set.c

index c8b8346..adf772e 100644 (file)
@@ -131,8 +131,6 @@ u8 rtw_set_802_11_bssid(struct adapter *padapter, u8 *bssid)
        u32 cur_time = 0;
        struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
 
-       DBG_88E_LEVEL(_drv_info_, "set bssid:%pM\n", bssid);
-
        if ((bssid[0] == 0x00 && bssid[1] == 0x00 && bssid[2] == 0x00 &&
             bssid[3] == 0x00 && bssid[4] == 0x00 && bssid[5] == 0x00) ||
            (bssid[0] == 0xFF && bssid[1] == 0xFF && bssid[2] == 0xFF &&
@@ -214,9 +212,6 @@ u8 rtw_set_802_11_ssid(struct adapter *padapter, struct ndis_802_11_ssid *ssid)
        struct mlme_priv *pmlmepriv = &padapter->mlmepriv;
        struct wlan_network *pnetwork = &pmlmepriv->cur_network;
 
-       DBG_88E_LEVEL(_drv_info_, "set ssid [%s] fw_state=0x%08x\n",
-                     ssid->ssid, get_fwstate(pmlmepriv));
-
        if (!padapter->hw_init_completed) {
                RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_err_,
                         ("set_ssid: hw_init_completed == false =>exit!!!\n"));