aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>2024-09-10 07:57:44 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-09-11 15:57:48 +0200
commit41087c3d42e357d1b9962d799bc8c2c83317071c (patch)
treeb140adc039e9d6c95b7246d28e62af3a5494e4bc
parentstaging: rtl8723bs: Remove unused function mac_reg_dump (diff)
downloadwireguard-linux-41087c3d42e357d1b9962d799bc8c2c83317071c.tar.xz
wireguard-linux-41087c3d42e357d1b9962d799bc8c2c83317071c.zip
staging: rtl8723bs: Remove unused function dump_4_regs
Remove unused function dump_4_regs. Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/583ba389a269a11f4c2497ae5152ad8299d88455.1725826273.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/staging/rtl8723bs/core/rtw_debug.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/staging/rtl8723bs/core/rtw_debug.c b/drivers/staging/rtl8723bs/core/rtw_debug.c
index bfce632e037e..fb6cc1d18bba 100644
--- a/drivers/staging/rtl8723bs/core/rtw_debug.c
+++ b/drivers/staging/rtl8723bs/core/rtw_debug.c
@@ -10,15 +10,3 @@
#include <hal_btcoex.h>
#include <rtw_version.h>
-
-static void dump_4_regs(struct adapter *adapter, int offset)
-{
- u32 reg[4];
- int i;
-
- for (i = 0; i < 4; i++)
- reg[i] = rtw_read32(adapter, offset + i);
-
- netdev_dbg(adapter->pnetdev, "0x%03x 0x%08x 0x%08x 0x%08x 0x%08x\n",
- i, reg[0], reg[1], reg[2], reg[3]);
-}