]> www.infradead.org Git - linux.git/commitdiff
staging: rtl8723bs: Remove unused function mac_reg_dump
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Tue, 10 Sep 2024 05:57:37 +0000 (07:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Sep 2024 13:57:48 +0000 (15:57 +0200)
Remove unused function mac_reg_dump.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/80e89052b30d8c495f375e43fc4c1deeea75a624.1725826273.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_debug.c
drivers/staging/rtl8723bs/include/rtw_debug.h

index e5a4baf1b78b2d81bd72ed20f7453cab4ac059e0..bfce632e037eb844e4a223561fd12944ee0298e5 100644 (file)
@@ -22,13 +22,3 @@ static void dump_4_regs(struct adapter *adapter, int offset)
        netdev_dbg(adapter->pnetdev, "0x%03x 0x%08x 0x%08x 0x%08x 0x%08x\n",
                   i, reg[0], reg[1], reg[2], reg[3]);
 }
-
-void mac_reg_dump(struct adapter *adapter)
-{
-       int i;
-
-       netdev_dbg(adapter->pnetdev, "======= MAC REG =======\n");
-
-       for (i = 0x0; i < 0x800; i += 4)
-               dump_4_regs(adapter, i);
-}
index 9948fd0f7e9196fb5322407ff70c1ee1a1062711..c417a26de166d021f8ab5e9e5000e27d59b7f2aa 100644 (file)
@@ -7,6 +7,4 @@
 #ifndef __RTW_DEBUG_H__
 #define __RTW_DEBUG_H__
 
-void mac_reg_dump(struct adapter *adapter);
-
 #endif /* __RTW_DEBUG_H__ */