]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drivers: staging: rtl8192u driver cleanup
authorRene Kolarik <rene.kolarik@gmail.com>
Mon, 12 Jan 2015 01:31:57 +0000 (02:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2015 22:20:25 +0000 (14:20 -0800)
Correct redundant initialization reported by sparse

Signed-off-by: Rene Kolarik <rene.kolarik@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c

index c4514109d0eeb66420cc3abfe089d3f16439e4e1..acaa723817e709dd574ffeedd89bb980d0f27a2f 100644 (file)
@@ -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