mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
staging: rtl8723au: remove redundant initialization
The variable pHalData is initialized twice in this same function with same value.So removing one of them. Signed-off-by: Hari Prasath Gujulan Elango <hgujulan@visteon.com> Acked-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
322489d9d5
commit
77198552a4
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ int FillH2CCmd(struct rtw_adapter *padapter, u8 ElementID, u32 CmdLen,
|
|||
u8 h2c_box_num;
|
||||
u32 msgbox_addr;
|
||||
u32 msgbox_ex_addr;
|
||||
struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter);
|
||||
struct hal_data_8723a *pHalData;
|
||||
u32 h2c_cmd = 0;
|
||||
u16 h2c_cmd_ex = 0;
|
||||
int ret = _FAIL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue