Commit 14adc53f authored by Philipp Hortmann's avatar Philipp Hortmann Committed by Greg Kroah-Hartman

staging: rtl8723bs: Remove unused function dump_4_rf_regs

Remove unused function dump_4_rf_regs.
Signed-off-by: default avatarPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/b660342da763d1e03c44f2b3fdac0378b077e6b9.1725826273.git.philipp.g.hortmann@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 370c7a83
...@@ -42,16 +42,3 @@ void bb_reg_dump(struct adapter *adapter) ...@@ -42,16 +42,3 @@ void bb_reg_dump(struct adapter *adapter)
for (i = 0x800; i < 0x1000 ; i += 4) for (i = 0x800; i < 0x1000 ; i += 4)
dump_4_regs(adapter, i); dump_4_regs(adapter, i);
} }
static void dump_4_rf_regs(struct adapter *adapter, int path, int offset)
{
u8 reg[4];
int i;
for (i = 0; i < 4; i++)
reg[i] = rtw_hal_read_rfreg(adapter, path, offset + i,
0xffffffff);
netdev_dbg(adapter->pnetdev, "0x%02x 0x%08x 0x%08x 0x%08x 0x%08x\n",
i, reg[0], reg[1], reg[2], reg[3]);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment