Commit 3bfef650 authored by Prasanna Karthik's avatar Prasanna Karthik Committed by Greg Kroah-Hartman

staging:rtl8723au: Fix return statement reported by coccinelle

Modified return statement and removed local declaration no longer
needed. No Compiler warnings.
Signed-off-by: default avatarPrasanna Karthik <mkarthi3@visteon.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5534b8a1
...@@ -500,7 +500,6 @@ static int phy_RF6052_Config_ParaFile(struct rtw_adapter *Adapter) ...@@ -500,7 +500,6 @@ static int phy_RF6052_Config_ParaFile(struct rtw_adapter *Adapter)
int PHY_RF6052_Config8723A(struct rtw_adapter *Adapter) int PHY_RF6052_Config8723A(struct rtw_adapter *Adapter)
{ {
struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter); struct hal_data_8723a *pHalData = GET_HAL_DATA(Adapter);
int rtStatus = _SUCCESS;
/* Initialize general global value */ /* Initialize general global value */
/* TODO: Extend RF_PATH_C and RF_PATH_D in the future */ /* TODO: Extend RF_PATH_C and RF_PATH_D in the future */
...@@ -510,8 +509,7 @@ int PHY_RF6052_Config8723A(struct rtw_adapter *Adapter) ...@@ -510,8 +509,7 @@ int PHY_RF6052_Config8723A(struct rtw_adapter *Adapter)
pHalData->NumTotalRFPath = 2; pHalData->NumTotalRFPath = 2;
/* Config BB and RF */ /* Config BB and RF */
rtStatus = phy_RF6052_Config_ParaFile(Adapter); return phy_RF6052_Config_ParaFile(Adapter);
return rtStatus;
} }
/* End of HalRf6052.c */ /* End of HalRf6052.c */
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