staging: rtl8723bs: remove leftover code for other chips
PATCH v2 1/1 staging: rtl8723bs: remove leftover code for other chips
Clean up unreferenced definitions in hal headers and code.
Signed-off-by Artur Bujdoso <[email protected]>
---
v2: removed formatting changes from this commit and references and defines to
unused variable ChipVersion.ICType noted by Pavel Skripkin <[email protected]>
drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h | 11 - drivers/staging/rtl8723bs/hal/hal_btcoex.c | 8 - drivers/staging/rtl8723bs/include/HalVerDef.h | 10 - .../staging/rtl8723bs/include/hal_com_reg.h | 295 ------------------ 4 files changed, 324 deletions(-)
drivers/staging/rtl8723bs/hal/HalBtcOutSrc.h +0 -11
@@ -68,16 +68,6 @@ enum btc_chip_interface { BTC_INTF_MAX }; -enum { -BTC_CHIP_UNDEF =0 , -BTC_CHIP_CSR_BC4 =1 , -BTC_CHIP_CSR_BC8 =2 , -BTC_CHIP_RTL8723A =3 , -BTC_CHIP_RTL8821 =4 , -BTC_CHIP_RTL8723B =5 , -BTC_CHIP_MAX -}; -/* following is for wifi link status */ #define WIFI_STA_CONNECTED BIT0#define WIFI_AP_CONNECTED BIT1
@@ -87,7 +77,6 @@ enum {struct btc_board_info {/* The following is some board information */ -u8 btChipType;u8 pgAntNum;/* pg ant number */ u8 btdmAntNum;/* ant number for btdm */ u8 btdmAntPos;/* Bryant Add to indicate Antenna Position for (pgAntNum = 2) && (btdmAntNum = 1) (DPDT+1Ant case) */
drivers/staging/rtl8723bs/hal/hal_btcoex.c +0 -8
@@ -1113,11 +1113,6 @@ void EXhalbtcoutsrc_Periodical(struct btc_coexist *pBtCoexist)/* halbtcoutsrc_NormalLowPower(pBtCoexist); */ } -void EXhalbtcoutsrc_SetChipType (u8 chipType) -{ - GLBtCoexist.boardInfo.btChipType =BTC_CHIP_RTL8723B ; -} -void EXhalbtcoutsrc_SetAntNum (u8 type,u8 antNum) {if (BT_COEX_ANT_TYPE_PG == type) {
@@ -1188,9 +1183,6 @@ void hal_btcoex_SetChipType(struct adapter *padapter, u8 chipType) pHalData =GET_HAL_DATA (padapter); - pHalData->bt_coexist.btChipType = chipType; - -EXhalbtcoutsrc_SetChipType (chipType); }void hal_btcoex_SetPgAntNum (struct adapter *padapter,u8 antNum)
drivers/staging/rtl8723bs/include/HalVerDef.h +0 -10
@@ -9,16 +9,7 @@/* hal_ic_type_e */ enum hal_ic_type_e {/* tag_HAL_IC_Type_Definition */ -CHIP_8192S =0 , -CHIP_8188C =1 , -CHIP_8192C =2 , -CHIP_8192D =3 , -CHIP_8723A =4 , -CHIP_8188E =5 , -CHIP_8812 =6 , -CHIP_8821 =7 ,CHIP_8723B =8 , -CHIP_8192E =9 , };/* hal_chip_type_e */
@@ -58,7 +49,6 @@ struct hal_version { /* tag_HAL_VERSION */u8 ROMVer; }; -/* VERSION_8192C VersionID; */ /* hal_version VersionID; */ /* Get element */
drivers/staging/rtl8723bs/include/hal_com_reg.h +0 -295
362 lines not on this page · raw message
Signature · 1 line
2.30.2