staging: r8188eu: remove odm ext pa info
The ext pa info is not used. Remove it. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20211010175204.24029-10-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
0e170624f6
Коммит
28ad741b21
|
@ -240,9 +240,6 @@ void ODM_CmnInfoInit(struct odm_dm_struct *pDM_Odm, enum odm_common_info_def Cmn
|
|||
case ODM_CMNINFO_EXT_LNA:
|
||||
pDM_Odm->ExtLNA = (u8)Value;
|
||||
break;
|
||||
case ODM_CMNINFO_EXT_PA:
|
||||
pDM_Odm->ExtPA = (u8)Value;
|
||||
break;
|
||||
/* To remove the compiler warning, must add an empty default statement to handle the other values. */
|
||||
default:
|
||||
/* do nothing */
|
||||
|
|
|
@ -269,7 +269,6 @@ enum odm_common_info_def {
|
|||
ODM_CMNINFO_RF_TYPE, /* RF_PATH_E or ODM_RF_TYPE_E? */
|
||||
ODM_CMNINFO_BOARD_TYPE, /* ODM_BOARD_TYPE_E */
|
||||
ODM_CMNINFO_EXT_LNA, /* true */
|
||||
ODM_CMNINFO_EXT_PA,
|
||||
/* HOOK BEFORE REG INIT----------- */
|
||||
|
||||
/* Dynamic value: */
|
||||
|
@ -649,8 +648,6 @@ struct odm_dm_struct {
|
|||
u8 BoardType;
|
||||
/* with external LNA NO/Yes = 0/1 */
|
||||
u8 ExtLNA;
|
||||
/* with external PA NO/Yes = 0/1 */
|
||||
u8 ExtPA;
|
||||
|
||||
u32 BK_SupportAbility;
|
||||
u8 AntDivType;
|
||||
|
|
Загрузка…
Ссылка в новой задаче