]> www.infradead.org Git - linux.git/commitdiff
staging: rtl8723bs: Remove unused function dump_4_regs
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Tue, 10 Sep 2024 05:57:44 +0000 (07:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Sep 2024 13:57:48 +0000 (15:57 +0200)
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>
drivers/staging/rtl8723bs/core/rtw_debug.c

index bfce632e037eb844e4a223561fd12944ee0298e5..fb6cc1d18bba7ff7cc3165a6123835bf9c2c13e5 100644 (file)
 #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]);
-}