[PATCH 0/6] staging: rtl8723bs: remove DBG_COUNTER
From: Phillip Potter
Date: Mon Feb 15 2021 - 18:37:02 EST
This patch set removes all calls of the DBG_COUNTER macro from the
driver, as the macro only increments the relevant values, which are
never then used anywhere else. It then removes the DBG_COUNTER macro
definition itself.
In addition, it removes rx_logs/tx_logs/int_logs struct definitions from
the codebase as well. These are inside a CONFIG_DBG_COUNTER preprocessor
ifdef, and the only thing that was using them was the aforementioned
DBG_COUNTER calls.
Removing this code goes some way towards cleaning up this driver, and is
therefore worth doing.
Phillip Potter (6):
staging: rtl8723bs: remove DBG_COUNTER calls from os_dep/recv_linux.c
staging: rtl8723bs: remove DBG_COUNTER calls from os_dep/xmit_linux.c
staging: rtl8723bs: remove DBG_COUNTER calls from core/rtw_xmit.c
staging: rtl8723bs: remove DBG_COUNTER calls from core/rtw_recv.c
staging: rtl8723bs: remove DBG_COUNTER definition from rtw_debug.h
staging: rtl8723bs: remove rx_logs/tx_logs/int_logs from drv_types.h
drivers/staging/rtl8723bs/core/rtw_recv.c | 44 +-----
drivers/staging/rtl8723bs/core/rtw_xmit.c | 44 +-----
drivers/staging/rtl8723bs/include/drv_types.h | 131 ------------------
drivers/staging/rtl8723bs/include/rtw_debug.h | 6 -
drivers/staging/rtl8723bs/os_dep/recv_linux.c | 15 +-
drivers/staging/rtl8723bs/os_dep/xmit_linux.c | 17 +--
6 files changed, 10 insertions(+), 247 deletions(-)
--
2.29.2