mirror of https://gitee.com/openkylin/linux.git
staging: rtl8723au: HalPwrSeqCmdParsing23a(): Avoid unnecessary variable inits
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ebf0235b4c
commit
1c69cb9396
|
@ -47,11 +47,11 @@ u8 HalPwrSeqCmdParsing23a(struct rtw_adapter *padapter, u8 CutVersion,
|
|||
u8 FabVersion, u8 InterfaceType,
|
||||
struct wlan_pwr_cfg PwrSeqCmd[])
|
||||
{
|
||||
struct wlan_pwr_cfg PwrCfgCmd = { 0 };
|
||||
u8 bPollingBit = false;
|
||||
struct wlan_pwr_cfg PwrCfgCmd;
|
||||
u8 bPollingBit;
|
||||
u32 AryIdx = 0;
|
||||
u8 value = 0;
|
||||
u32 offset = 0;
|
||||
u8 value;
|
||||
u32 offset;
|
||||
u32 pollingCount = 0; /* polling autoload done. */
|
||||
u32 maxPollingCnt = 5000;
|
||||
|
||||
|
|
Loading…
Reference in New Issue