staging: rtl8188eu: remove all DBG_88E calls from hal/hal_intf.c
authorPhillip Potter <phil@philpotter.co.uk>
Tue, 15 Jun 2021 00:14:56 +0000 (01:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jun 2021 11:56:11 +0000 (13:56 +0200)
Remove all DBG_88E calls from hal/hal_intf.c as this macro is
unnecessary, and many of 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/20210615001507.1171-18-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/hal_intf.c

index 9585dff..60cfd31 100644 (file)
@@ -23,7 +23,6 @@ uint rtw_hal_init(struct adapter *adapt)
                        rtw_hal_notch_filter(adapt, 1);
        } else {
                adapt->hw_init_completed = false;
-               DBG_88E("%s: hal__init fail\n", __func__);
        }
 
        RT_TRACE(_module_hal_init_c_, _drv_err_,
@@ -40,8 +39,6 @@ uint rtw_hal_deinit(struct adapter *adapt)
 
        if (status == _SUCCESS)
                adapt->hw_init_completed = false;
-       else
-               DBG_88E("\n %s: hal_init fail\n", __func__);
 
        return status;
 }