Commit cb65037b authored by Artur Bujdoso's avatar Artur Bujdoso Committed by Greg Kroah-Hartman

staging: rtl8723bs: remove leftover code for other chips

Clean up unreferenced definitions in hal headers and code.
Signed-off-by: default avatarArtur Bujdoso <artur.bujdoso@gmail.com>
Link: https://lore.kernel.org/r/YmD/I19v8sJLrOQo@cruxSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 17c8129e
...@@ -68,16 +68,6 @@ enum btc_chip_interface { ...@@ -68,16 +68,6 @@ enum btc_chip_interface {
BTC_INTF_MAX 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 */ /* following is for wifi link status */
#define WIFI_STA_CONNECTED BIT0 #define WIFI_STA_CONNECTED BIT0
#define WIFI_AP_CONNECTED BIT1 #define WIFI_AP_CONNECTED BIT1
...@@ -87,7 +77,6 @@ enum { ...@@ -87,7 +77,6 @@ enum {
struct btc_board_info { struct btc_board_info {
/* The following is some board information */ /* The following is some board information */
u8 btChipType;
u8 pgAntNum; /* pg ant number */ u8 pgAntNum; /* pg ant number */
u8 btdmAntNum; /* ant number for btdm */ u8 btdmAntNum; /* ant number for btdm */
u8 btdmAntPos; /* Bryant Add to indicate Antenna Position for (pgAntNum = 2) && (btdmAntNum = 1) (DPDT+1Ant case) */ u8 btdmAntPos; /* Bryant Add to indicate Antenna Position for (pgAntNum = 2) && (btdmAntNum = 1) (DPDT+1Ant case) */
......
...@@ -1113,11 +1113,6 @@ void EXhalbtcoutsrc_Periodical(struct btc_coexist *pBtCoexist) ...@@ -1113,11 +1113,6 @@ void EXhalbtcoutsrc_Periodical(struct btc_coexist *pBtCoexist)
/* halbtcoutsrc_NormalLowPower(pBtCoexist); */ /* halbtcoutsrc_NormalLowPower(pBtCoexist); */
} }
void EXhalbtcoutsrc_SetChipType(u8 chipType)
{
GLBtCoexist.boardInfo.btChipType = BTC_CHIP_RTL8723B;
}
void EXhalbtcoutsrc_SetAntNum(u8 type, u8 antNum) void EXhalbtcoutsrc_SetAntNum(u8 type, u8 antNum)
{ {
if (BT_COEX_ANT_TYPE_PG == type) { if (BT_COEX_ANT_TYPE_PG == type) {
...@@ -1188,9 +1183,6 @@ void hal_btcoex_SetChipType(struct adapter *padapter, u8 chipType) ...@@ -1188,9 +1183,6 @@ void hal_btcoex_SetChipType(struct adapter *padapter, u8 chipType)
pHalData = GET_HAL_DATA(padapter); pHalData = GET_HAL_DATA(padapter);
pHalData->bt_coexist.btChipType = chipType;
EXhalbtcoutsrc_SetChipType(chipType);
} }
void hal_btcoex_SetPgAntNum(struct adapter *padapter, u8 antNum) void hal_btcoex_SetPgAntNum(struct adapter *padapter, u8 antNum)
......
...@@ -9,16 +9,7 @@ ...@@ -9,16 +9,7 @@
/* hal_ic_type_e */ /* hal_ic_type_e */
enum hal_ic_type_e { /* tag_HAL_IC_Type_Definition */ 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_8723B = 8,
CHIP_8192E = 9,
}; };
/* hal_chip_type_e */ /* hal_chip_type_e */
...@@ -58,7 +49,6 @@ struct hal_version { /* tag_HAL_VERSION */ ...@@ -58,7 +49,6 @@ struct hal_version { /* tag_HAL_VERSION */
u8 ROMVer; u8 ROMVer;
}; };
/* VERSION_8192C VersionID; */
/* hal_version VersionID; */ /* hal_version VersionID; */
/* Get element */ /* Get element */
......
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