diff options
| author | Martin Kaiser <[email protected]> | 2021-10-10 19:52:02 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-10-13 14:26:51 +0200 |
| commit | 0e170624f66ccc5de830cbdbe9bb8ffd620efb2a (patch) | |
| tree | 6fb1d096a2d2dfbc01a9e3299cf87202a50b5bef | |
| parent | 8f78bc11b8ae1f3522af99b3c54a049ecc7c043d (diff) | |
staging: r8188eu: remove odm ext trsw info
The ext trsw info is not used. Remove it.
Signed-off-by: Martin Kaiser <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
| -rw-r--r-- | drivers/staging/r8188eu/hal/odm.c | 3 | ||||
| -rw-r--r-- | drivers/staging/r8188eu/include/odm.h | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/r8188eu/hal/odm.c b/drivers/staging/r8188eu/hal/odm.c index c094cffb9e6a..cf0881642207 100644 --- a/drivers/staging/r8188eu/hal/odm.c +++ b/drivers/staging/r8188eu/hal/odm.c @@ -243,9 +243,6 @@ void ODM_CmnInfoInit(struct odm_dm_struct *pDM_Odm, enum odm_common_info_def Cmn case ODM_CMNINFO_EXT_PA: pDM_Odm->ExtPA = (u8)Value; break; - case ODM_CMNINFO_EXT_TRSW: - pDM_Odm->ExtTRSW = (u8)Value; - break; /* To remove the compiler warning, must add an empty default statement to handle the other values. */ default: /* do nothing */ diff --git a/drivers/staging/r8188eu/include/odm.h b/drivers/staging/r8188eu/include/odm.h index 462424f0a49b..346dc04a50e6 100644 --- a/drivers/staging/r8188eu/include/odm.h +++ b/drivers/staging/r8188eu/include/odm.h @@ -270,7 +270,6 @@ enum odm_common_info_def { ODM_CMNINFO_BOARD_TYPE, /* ODM_BOARD_TYPE_E */ ODM_CMNINFO_EXT_LNA, /* true */ ODM_CMNINFO_EXT_PA, - ODM_CMNINFO_EXT_TRSW, /* HOOK BEFORE REG INIT----------- */ /* Dynamic value: */ @@ -652,8 +651,6 @@ struct odm_dm_struct { u8 ExtLNA; /* with external PA NO/Yes = 0/1 */ u8 ExtPA; - /* with external TRSW NO/Yes = 0/1 */ - u8 ExtTRSW; u32 BK_SupportAbility; u8 AntDivType; |