staging: rtl8188eu: remove all RT_TRACE calls from hal/rtl8188eu_recv.c
authorPhillip Potter <phil@philpotter.co.uk>
Fri, 25 Jun 2021 00:07:52 +0000 (01:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Jun 2021 07:03:51 +0000 (09:03 +0200)
Remove all RT_TRACE calls from hal/rtl8188eu_recv.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 <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20210625000756.6313-20-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c

index 2d7d3d9..aa69fc3 100644 (file)
@@ -31,8 +31,6 @@ int rtw_hal_init_recv_priv(struct adapter *padapter)
                kcalloc(NR_RECVBUFF, sizeof(struct recv_buf), GFP_KERNEL);
        if (!precvpriv->precv_buf) {
                res = _FAIL;
-               RT_TRACE(_module_rtl871x_recv_c_, _drv_err_,
-                        ("alloc recv_buf fail!\n"));
                goto exit;
        }
        precvbuf = precvpriv->precv_buf;