summaryrefslogtreecommitdiffstats
path: root/drivers/staging/r8188eu/include/odm_HWConfig.h
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2022-01-10 13:46:33 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-25 16:18:42 +0100
commit1f9bd3991ba6142f0ca616299993cb7eb66e037d (patch)
tree8f54d5214cffd9db057958591c5b1780fd708365 /drivers/staging/r8188eu/include/odm_HWConfig.h
parent25d5e8f7bab4831306511af6ca44fbf67db4fa2f (diff)
downloadlinux-1f9bd3991ba6142f0ca616299993cb7eb66e037d.tar.bz2
staging: r8188eu: remove constant function parameter
The only caller of ODM_ConfigRFWithHeaderFile sets rfpath to RF_PATH_A. Remove the parameter and the check for RF_PATH_A inside the function. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20220110124638.6909-5-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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/r8188eu/include/odm_HWConfig.h b/drivers/staging/r8188eu/include/odm_HWConfig.h
index efc809354720..aa468ce34b7e 100644
--- a/drivers/staging/r8188eu/include/odm_HWConfig.h
+++ b/drivers/staging/r8188eu/include/odm_HWConfig.h
@@ -95,8 +95,7 @@ void ODM_PhyStatusQuery(struct odm_dm_struct *pDM_Odm,
struct odm_per_pkt_info *pPktinfo,
struct adapter *adapt);
-enum HAL_STATUS ODM_ConfigRFWithHeaderFile(struct odm_dm_struct *pDM_Odm,
- enum rf_radio_path eRFPath);
+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);