[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210215233440.80617-1-phil@philpotter.co.uk>
Date: Mon, 15 Feb 2021 23:34:34 +0000
From: Phillip Potter <phil@...lpotter.co.uk>
To: gregkh@...uxfoundation.org
Cc: ross.schm.dev@...il.com, matthew.v.deangelis@...il.com,
pterjan@...gle.com, vkor@...en.in, amarjargal16@...il.com,
foxhlchen@...il.com, insafonov@...il.com, yujian.wu1@...il.com,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [PATCH 0/6] staging: rtl8723bs: remove DBG_COUNTER
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
Powered by blists - more mailing lists