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

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/b66d915668366258523095adf388acef945dc0fa.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 5354fdd11c9b58cdd5e262dad7060e829c0808ea..33d27680a276f00f0408832d23433ea6847ce226 100644 (file)
@@ -55,14 +55,3 @@ static void dump_4_rf_regs(struct adapter *adapter, int path, int offset)
        netdev_dbg(adapter->pnetdev, "0x%02x 0x%08x 0x%08x 0x%08x 0x%08x\n",
                   i, reg[0], reg[1], reg[2], reg[3]);
 }
-
-void rf_reg_dump(struct adapter *adapter)
-{
-       int i, path = 0;
-
-       netdev_dbg(adapter->pnetdev, "======= RF REG =======\n");
-
-       netdev_dbg(adapter->pnetdev, "RF_Path(%x)\n", path);
-       for (i = 0; i < 0x100; i++)
-               dump_4_rf_regs(adapter, path, i);
-}
index 7f96ff66915f7e68ebd73fc405f533c218184f73..f70da9cc66f88444ecb3c1c91bad721d0e98deab 100644 (file)
@@ -9,6 +9,5 @@
 
 void mac_reg_dump(struct adapter *adapter);
 void bb_reg_dump(struct adapter *adapter);
-void rf_reg_dump(struct adapter *adapter);
 
 #endif /* __RTW_DEBUG_H__ */