staging: r8188eu: remove RT_TRACE prints from mlme_linux.c
authorMartin Kaiser <martin@kaiser.cx>
Sat, 7 Aug 2021 15:36:29 +0000 (17:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Aug 2021 10:14:19 +0000 (12:14 +0200)
We should use the standard mechanism for debug prints. Remove the prints
that use driver-specific macros.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210807153636.11712-6-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/os_dep/mlme_linux.c

index 0855b21..259628c 100644 (file)
@@ -113,12 +113,8 @@ void rtw_report_sec_ie(struct adapter *adapter, u8 authmode, u8 *sec_ie)
        u8      *buff, *p, i;
        union iwreq_data wrqu;
 
-       RT_TRACE(_module_mlme_osdep_c_, _drv_info_,
-                ("+rtw_report_sec_ie, authmode=%d\n", authmode));
        buff = NULL;
        if (authmode == _WPA_IE_ID_) {
-               RT_TRACE(_module_mlme_osdep_c_, _drv_info_,
-                        ("rtw_report_sec_ie, authmode=%d\n", authmode));
                buff = kzalloc(IW_CUSTOM_MAX, GFP_KERNEL);
                if (!buff)
                        return;