From: Phillip Potter Date: Fri, 25 Jun 2021 00:07:37 +0000 (+0100) Subject: staging: rtl8188eu: remove all RT_TRACE calls from os_dep/mlme_linux.c X-Git-Tag: v5.14-rc1~66^2~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0299b6df594b4a325d1c09057e82458192d9b0ca;p=thirdparty%2Flinux.git staging: rtl8188eu: remove all RT_TRACE calls from os_dep/mlme_linux.c Remove all RT_TRACE calls from os_dep/mlme_linux.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 Link: https://lore.kernel.org/r/20210625000756.6313-5-phil@philpotter.co.uk Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/os_dep/mlme_linux.c b/drivers/staging/rtl8188eu/os_dep/mlme_linux.c index 8af58e847afbb..f12d8a7073765 100644 --- a/drivers/staging/rtl8188eu/os_dep/mlme_linux.c +++ b/drivers/staging/rtl8188eu/os_dep/mlme_linux.c @@ -87,12 +87,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_, - ("+%s, authmode=%d\n", __func__, authmode)); buff = NULL; if (authmode == WLAN_EID_VENDOR_SPECIFIC) { - RT_TRACE(_module_mlme_osdep_c_, _drv_info_, - ("%s, authmode=%d\n", __func__, authmode)); buff = rtw_malloc(IW_CUSTOM_MAX); if (!buff) return;