staging: rtl8188eu: remove all DBG_88E calls from hal/rtl8188e_xmit.c
authorPhillip Potter <phil@philpotter.co.uk>
Tue, 15 Jun 2021 00:15:00 +0000 (01:15 +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/rtl8188e_xmit.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-22-phil@philpotter.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/rtl8188e_xmit.c

index 9b8a284..0d56087 100644 (file)
@@ -33,25 +33,10 @@ void _dbg_dump_tx_info(struct adapter *padapter, int frame_tag,
        rtw_hal_get_def_var(padapter, HAL_DEF_DBG_DUMP_TXPKT, &(dmp_txpkt));
 
        if (dmp_txpkt == 1) {/* dump txdesc for data frame */
-               DBG_88E("dump tx_desc for data frame\n");
                if ((frame_tag & 0x0f) == DATA_FRAMETAG)
                        dump_txdesc = true;
        } else if (dmp_txpkt == 2) {/* dump txdesc for mgnt frame */
-               DBG_88E("dump tx_desc for mgnt frame\n");
                if ((frame_tag & 0x0f) == MGNT_FRAMETAG)
                        dump_txdesc = true;
        }
-
-       if (dump_txdesc) {
-               DBG_88E("=====================================\n");
-               DBG_88E("txdw0(0x%08x)\n", ptxdesc->txdw0);
-               DBG_88E("txdw1(0x%08x)\n", ptxdesc->txdw1);
-               DBG_88E("txdw2(0x%08x)\n", ptxdesc->txdw2);
-               DBG_88E("txdw3(0x%08x)\n", ptxdesc->txdw3);
-               DBG_88E("txdw4(0x%08x)\n", ptxdesc->txdw4);
-               DBG_88E("txdw5(0x%08x)\n", ptxdesc->txdw5);
-               DBG_88E("txdw6(0x%08x)\n", ptxdesc->txdw6);
-               DBG_88E("txdw7(0x%08x)\n", ptxdesc->txdw7);
-               DBG_88E("=====================================\n");
-       }
 }