diff options
author | Jan Gruber <j4n6ru@gmail.com> | 2021-07-05 19:21:01 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-21 10:31:26 +0200 |
commit | 1be059994b29df1344a9b105d64a41476470910d (patch) | |
tree | 89bea1f8f426d602523c97b7b1ecf04179b26c40 | |
parent | staging: qlge: Remove unnecessary parentheses around references (diff) | |
download | linux-dev-1be059994b29df1344a9b105d64a41476470910d.tar.xz linux-dev-1be059994b29df1344a9b105d64a41476470910d.zip |
staging: rtl8188eu: remove unnecessary logging
This commit fixes the following checkpatch.pl issues:
+ pr_debug("===> %s\n", __func__);
WARNING: Unnecessary ftrace-like logging - prefer using ftrace
158: FILE: drivers/staging/rtl8188eu/os_dep/usb_intf.c:158:
WARNING: Unnecessary ftrace-like logging - prefer using ftrace
177: FILE: drivers/staging/rtl8188eu/os_dep/usb_intf.c:177:
+ pr_debug("<=== %s\n", __func__);
and removes another line of unnecessary logging, which was not
identified by checkpatch.pl in an automated manner.
Signed-off-by: Jan Gruber <j4n6ru@gmail.com>
Link: https://lore.kernel.org/r/20210705172101.239899-1-j4n6ru@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8188eu/os_dep/usb_intf.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c b/drivers/staging/rtl8188eu/os_dep/usb_intf.c index f8519bfec020..1bf7b2c35c34 100644 --- a/drivers/staging/rtl8188eu/os_dep/usb_intf.c +++ b/drivers/staging/rtl8188eu/os_dep/usb_intf.c @@ -155,7 +155,6 @@ void usb_intf_stop(struct adapter *padapter) static void rtw_dev_unload(struct adapter *padapter) { if (padapter->bup) { - pr_debug("===> %s\n", __func__); padapter->bDriverStopped = true; if (padapter->xmitpriv.ack_tx) rtw_ack_tx_done(&padapter->xmitpriv, RTW_SCTX_DONE_DRV_STOP); @@ -173,8 +172,6 @@ static void rtw_dev_unload(struct adapter *padapter) padapter->bup = false; } - - pr_debug("<=== %s\n", __func__); } static int rtw_suspend(struct usb_interface *pusb_intf, pm_message_t message) @@ -454,8 +451,6 @@ static void rtw_dev_remove(struct usb_interface *pusb_intf) struct dvobj_priv *dvobj = usb_get_intfdata(pusb_intf); struct adapter *padapter = dvobj->if1; - pr_debug("+%s\n", __func__); - if (!pusb_intf->unregistering) padapter->bSurpriseRemoved = true; |