From: Rene Kolarik Date: Mon, 12 Jan 2015 01:31:57 +0000 (+0100) Subject: drivers: staging: rtl8192u driver cleanup X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c6d87638962000be057def45c35057e498c5b346;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git drivers: staging: rtl8192u driver cleanup Correct redundant initialization reported by sparse Signed-off-by: Rene Kolarik Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c b/drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c index c4514109d0ee..acaa723817e7 100644 --- a/drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c +++ b/drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c @@ -241,7 +241,7 @@ static PTS_COMMON_INFO SearchAdmitTRStream(struct ieee80211_device *ieee, { //DIRECTION_VALUE dir; u8 dir; - bool search_dir[4] = {0, 0, 0, 0}; + bool search_dir[4] = {0}; struct list_head *psearch_list; //FIXME PTS_COMMON_INFO pRet = NULL; if(ieee->iw_mode == IW_MODE_MASTER) //ap mode