staging: rtl8723au: HalPwrSeqCmdParsing23a(): Avoid unnecessary variable inits
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 4 Dec 2014 21:15:51 +0000 (16:15 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2015 21:45:26 +0000 (13:45 -0800)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/HalPwrSeqCmd.c

index 1da4eece6f9a413faeb37ff47b0e22804ff360b2..33777d2852f49c02c1d11cd71f213d7d9751a42b 100644 (file)
@@ -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;