Commit 4d6d7380 authored by Hariprasad Kelam's avatar Hariprasad Kelam Committed by Greg Kroah-Hartman

staging: rtl8723bs: hal: rtl8723b_rf6052: collect return status directly

Remove variable rtStatus and return phy_RF6052_Config_ParaFile function
directly
Signed-off-by: default avatarHariprasad Kelam <hariprasad.kelam@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 526160d0
...@@ -194,7 +194,6 @@ static int phy_RF6052_Config_ParaFile(struct adapter *Adapter) ...@@ -194,7 +194,6 @@ static int phy_RF6052_Config_ParaFile(struct adapter *Adapter)
int PHY_RF6052_Config8723B(struct adapter *Adapter) int PHY_RF6052_Config8723B(struct adapter *Adapter)
{ {
struct hal_com_data *pHalData = GET_HAL_DATA(Adapter); struct hal_com_data *pHalData = GET_HAL_DATA(Adapter);
int rtStatus = _SUCCESS;
/* */ /* */
/* Initialize general global value */ /* Initialize general global value */
...@@ -208,8 +207,7 @@ int PHY_RF6052_Config8723B(struct adapter *Adapter) ...@@ -208,8 +207,7 @@ int PHY_RF6052_Config8723B(struct adapter *Adapter)
/* */ /* */
/* Config BB and RF */ /* Config BB and RF */
/* */ /* */
rtStatus = phy_RF6052_Config_ParaFile(Adapter); return phy_RF6052_Config_ParaFile(Adapter);
return rtStatus;
} }
......
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