From: Jes Sorensen Date: Thu, 4 Dec 2014 21:15:51 +0000 (-0500) Subject: staging: rtl8723au: HalPwrSeqCmdParsing23a(): Avoid unnecessary variable inits X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1c69cb939610f2b80d133ee24d5dd0a3c9ede7b9;p=linux-beck.git staging: rtl8723au: HalPwrSeqCmdParsing23a(): Avoid unnecessary variable inits Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/hal/HalPwrSeqCmd.c b/drivers/staging/rtl8723au/hal/HalPwrSeqCmd.c index 1da4eece6f9a..33777d2852f4 100644 --- a/drivers/staging/rtl8723au/hal/HalPwrSeqCmd.c +++ b/drivers/staging/rtl8723au/hal/HalPwrSeqCmd.c @@ -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;