Skip to content

Commit 370c7a8

Browse files
Philipp Hortmanngregkh
authored andcommitted
staging: rtl8723bs: Remove unused function rf_reg_dump
Remove unused function rf_reg_dump. Signed-off-by: Philipp Hortmann <[email protected]> Link: https://lore.kernel.org/r/b66d915668366258523095adf388acef945dc0fa.1725826273.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 7e90239 commit 370c7a8

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

drivers/staging/rtl8723bs/core/rtw_debug.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,3 @@ static void dump_4_rf_regs(struct adapter *adapter, int path, int offset)
5555
netdev_dbg(adapter->pnetdev, "0x%02x 0x%08x 0x%08x 0x%08x 0x%08x\n",
5656
i, reg[0], reg[1], reg[2], reg[3]);
5757
}
58-
59-
void rf_reg_dump(struct adapter *adapter)
60-
{
61-
int i, path = 0;
62-
63-
netdev_dbg(adapter->pnetdev, "======= RF REG =======\n");
64-
65-
netdev_dbg(adapter->pnetdev, "RF_Path(%x)\n", path);
66-
for (i = 0; i < 0x100; i++)
67-
dump_4_rf_regs(adapter, path, i);
68-
}

drivers/staging/rtl8723bs/include/rtw_debug.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@
99

1010
void mac_reg_dump(struct adapter *adapter);
1111
void bb_reg_dump(struct adapter *adapter);
12-
void rf_reg_dump(struct adapter *adapter);
1312

1413
#endif /* __RTW_DEBUG_H__ */

0 commit comments

Comments
 (0)