Commit dfa6cbbf authored by Hariprasad Kelam's avatar Hariprasad Kelam Committed by Greg Kroah-Hartman

staging: rtl8723bs: hal: fix error "do not initialise globals to 0"

this patch fixes below Errors reported by checkpatch

ERROR: do not initialise globals to 0
+u8 g_fwdl_chksum_fail = 0;

ERROR: do not initialise globals to 0
+u8 g_fwdl_wintint_rdy_fail = 0;
Signed-off-by: default avatarHariprasad Kelam <hariprasad.kelam@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c1c7830c
...@@ -217,7 +217,7 @@ void _8051Reset8723(struct adapter *padapter) ...@@ -217,7 +217,7 @@ void _8051Reset8723(struct adapter *padapter)
DBG_8192C("%s: Finish\n", __func__); DBG_8192C("%s: Finish\n", __func__);
} }
u8 g_fwdl_chksum_fail = 0; u8 g_fwdl_chksum_fail;
static s32 polling_fwdl_chksum( static s32 polling_fwdl_chksum(
struct adapter *adapter, u32 min_cnt, u32 timeout_ms struct adapter *adapter, u32 min_cnt, u32 timeout_ms
...@@ -262,7 +262,7 @@ static s32 polling_fwdl_chksum( ...@@ -262,7 +262,7 @@ static s32 polling_fwdl_chksum(
return ret; return ret;
} }
u8 g_fwdl_wintint_rdy_fail = 0; u8 g_fwdl_wintint_rdy_fail;
static s32 _FWFreeToGo(struct adapter *adapter, u32 min_cnt, u32 timeout_ms) static s32 _FWFreeToGo(struct adapter *adapter, u32 min_cnt, u32 timeout_ms)
{ {
......
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