lkml.org 
[lkml]   [2021]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/6] staging: rtl8723bs: remove DBG_COUNTER
Date
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

\
 
 \ /
  Last update: 2021-02-16 00:36    [W:0.054 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site