staging: rtl8723bs: hal: rtl8723b_rf6052: collect return status directly
Remove variable rtStatus and return phy_RF6052_Config_ParaFile function directly Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
526160d0db
commit
4d6d738091
@ -194,7 +194,6 @@ phy_RF6052_Config_ParaFile_Fail:
|
||||
int PHY_RF6052_Config8723B(struct adapter *Adapter)
|
||||
{
|
||||
struct hal_com_data *pHalData = GET_HAL_DATA(Adapter);
|
||||
int rtStatus = _SUCCESS;
|
||||
|
||||
/* */
|
||||
/* Initialize general global value */
|
||||
@ -208,8 +207,7 @@ int PHY_RF6052_Config8723B(struct adapter *Adapter)
|
||||
/* */
|
||||
/* Config BB and RF */
|
||||
/* */
|
||||
rtStatus = phy_RF6052_Config_ParaFile(Adapter);
|
||||
return rtStatus;
|
||||
return phy_RF6052_Config_ParaFile(Adapter);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user