Skip to content

Commit 14adc53

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

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

drivers/staging/rtl8723bs/core/rtw_debug.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,3 @@ void bb_reg_dump(struct adapter *adapter)
4242
for (i = 0x800; i < 0x1000 ; i += 4)
4343
dump_4_regs(adapter, i);
4444
}
45-
46-
static void dump_4_rf_regs(struct adapter *adapter, int path, int offset)
47-
{
48-
u8 reg[4];
49-
int i;
50-
51-
for (i = 0; i < 4; i++)
52-
reg[i] = rtw_hal_read_rfreg(adapter, path, offset + i,
53-
0xffffffff);
54-
55-
netdev_dbg(adapter->pnetdev, "0x%02x 0x%08x 0x%08x 0x%08x 0x%08x\n",
56-
i, reg[0], reg[1], reg[2], reg[3]);
57-
}

0 commit comments

Comments
 (0)