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

staging: rtl8723bs: Remove unused function mac_reg_dump

Remove unused function mac_reg_dump.
Signed-off-by: default avatarPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/80e89052b30d8c495f375e43fc4c1deeea75a624.1725826273.git.philipp.g.hortmann@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 75758f44
...@@ -22,13 +22,3 @@ static void dump_4_regs(struct adapter *adapter, int offset) ...@@ -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", netdev_dbg(adapter->pnetdev, "0x%03x 0x%08x 0x%08x 0x%08x 0x%08x\n",
i, reg[0], reg[1], reg[2], reg[3]); 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);
}
...@@ -7,6 +7,4 @@ ...@@ -7,6 +7,4 @@
#ifndef __RTW_DEBUG_H__ #ifndef __RTW_DEBUG_H__
#define __RTW_DEBUG_H__ #define __RTW_DEBUG_H__
void mac_reg_dump(struct adapter *adapter);
#endif /* __RTW_DEBUG_H__ */ #endif /* __RTW_DEBUG_H__ */
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