From 370c7a835f781bcc3fbcdbbc536c260d8a430a3e Mon Sep 17 00:00:00 2001 From: Philipp Hortmann Date: Tue, 10 Sep 2024 07:57:05 +0200 Subject: staging: rtl8723bs: Remove unused function rf_reg_dump Remove unused function rf_reg_dump. Signed-off-by: Philipp Hortmann Link: https://lore.kernel.org/r/b66d915668366258523095adf388acef945dc0fa.1725826273.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8723bs/core/rtw_debug.c | 11 ----------- drivers/staging/rtl8723bs/include/rtw_debug.h | 1 - 2 files changed, 12 deletions(-) (limited to 'drivers/staging') diff --git a/drivers/staging/rtl8723bs/core/rtw_debug.c b/drivers/staging/rtl8723bs/core/rtw_debug.c index 5354fdd11c9b..33d27680a276 100644 --- a/drivers/staging/rtl8723bs/core/rtw_debug.c +++ b/drivers/staging/rtl8723bs/core/rtw_debug.c @@ -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); -} diff --git a/drivers/staging/rtl8723bs/include/rtw_debug.h b/drivers/staging/rtl8723bs/include/rtw_debug.h index 7f96ff66915f..f70da9cc66f8 100644 --- a/drivers/staging/rtl8723bs/include/rtw_debug.h +++ b/drivers/staging/rtl8723bs/include/rtw_debug.h @@ -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__ */ -- cgit v1.2.3