diff options
author | Martin Kaiser <martin@kaiser.cx> | 2022-01-10 13:46:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-25 16:18:42 +0100 |
commit | 67396d2dfef3fee70a113a679ccf5fc0d4d3fd71 (patch) | |
tree | 17b4e1af815f5e4c56e4feb14ed977b20ab834bf /drivers/staging/r8188eu/include/odm_HWConfig.h | |
parent | af5df1e7f94cb891719b64cd2d18ffb1b17b4b42 (diff) | |
download | linux-67396d2dfef3fee70a113a679ccf5fc0d4d3fd71.tar.bz2 |
staging: r8188eu: merge ODM_ConfigBBWithHeaderFile with its callers
ODM_ConfigBBWithHeaderFile is a "multiplexer" for ODM_ReadAndConfig_...
functions. It's called only from phy_BB8188E_Config_ParaFile.
We can remove ODM_ConfigBBWithHeaderFile and call the
ODM_ReadAndConfig_... functions directly.
ODM_ReadAndConfig_PHY_REG_PG_8188E does not return an error status,
there's no need for a check.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220110124638.6909-10-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/include/odm_HWConfig.h')
-rw-r--r-- | drivers/staging/r8188eu/include/odm_HWConfig.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/r8188eu/include/odm_HWConfig.h b/drivers/staging/r8188eu/include/odm_HWConfig.h index 1bd6f254bf53..b37962edb2ed 100644 --- a/drivers/staging/r8188eu/include/odm_HWConfig.h +++ b/drivers/staging/r8188eu/include/odm_HWConfig.h @@ -67,7 +67,4 @@ void ODM_PhyStatusQuery(struct odm_dm_struct *pDM_Odm, struct adapter *adapt); enum HAL_STATUS ODM_ConfigRFWithHeaderFile(struct odm_dm_struct *pDM_Odm); - -enum HAL_STATUS ODM_ConfigBBWithHeaderFile(struct odm_dm_struct *pDM_Odm, - enum odm_bb_config_type ConfigType); #endif |