[PATCH 12/17] staging: rtl8723bs: Remove unused function GetHalODMVar

From: Philipp Hortmann
Date: Sun Sep 15 2024 - 02:43:11 EST


Remove unused function GetHalODMVar.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@xxxxxxxxx>
---
drivers/staging/rtl8723bs/hal/hal_com.c | 13 -------------
drivers/staging/rtl8723bs/include/hal_com.h | 4 ----
2 files changed, 17 deletions(-)

diff --git a/drivers/staging/rtl8723bs/hal/hal_com.c b/drivers/staging/rtl8723bs/hal/hal_com.c
index 719dd116d807..492889c837d9 100644
--- a/drivers/staging/rtl8723bs/hal/hal_com.c
+++ b/drivers/staging/rtl8723bs/hal/hal_com.c
@@ -796,19 +796,6 @@ u8 GetHalDefVar(
return bResult;
}

-void GetHalODMVar(
- struct adapter *Adapter,
- enum hal_odm_variable eVariable,
- void *pValue1,
- void *pValue2
-)
-{
- switch (eVariable) {
- default:
- break;
- }
-}
-
void SetHalODMVar(
struct adapter *Adapter,
enum hal_odm_variable eVariable,
diff --git a/drivers/staging/rtl8723bs/include/hal_com.h b/drivers/staging/rtl8723bs/include/hal_com.h
index 17d5cfb66a36..4db93484725f 100644
--- a/drivers/staging/rtl8723bs/include/hal_com.h
+++ b/drivers/staging/rtl8723bs/include/hal_com.h
@@ -158,10 +158,6 @@ void rtw_dump_raw_rssi_info(struct adapter *padapter);

void rtw_bb_rf_gain_offset(struct adapter *padapter);

-void GetHalODMVar(struct adapter *Adapter,
- enum hal_odm_variable eVariable,
- void *pValue1,
- void *pValue2);
void SetHalODMVar(
struct adapter *Adapter,
enum hal_odm_variable eVariable,
--
2.43.0