staging: rtl8723bs: remove unnecessary logging in os_dep/wifi_regd.c
authorFabio Aiuto <fabioaiuto83@gmail.com>
Thu, 18 Mar 2021 15:26:10 +0000 (16:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Mar 2021 12:38:28 +0000 (13:38 +0100)
fix the following checkpatch.pl issues:

WARNING: Unnecessary ftrace-like logging - prefer using ftrace
153: FILE: drivers/staging/rtl8723bs/os_dep/wifi_regd.c:153:
+ DBG_8192C("%s\n", __func__);

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/20210318152610.16758-16-fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/os_dep/wifi_regd.c

index ee55893..0084589 100644 (file)
@@ -150,7 +150,5 @@ void rtw_reg_notifier(struct wiphy *wiphy, struct regulatory_request *request)
 {
        struct rtw_regulatory *reg = NULL;
 
-       DBG_8192C("%s\n", __func__);
-
        _rtw_reg_notifier_apply(wiphy, request, reg);
 }