staging: rtl8192u: fix spaces in array indexing in r8192U_core.c
authorXenia Ragiadakou <burzalodowa@gmail.com>
Tue, 4 Jun 2013 20:32:26 +0000 (23:32 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Jun 2013 22:37:21 +0000 (15:37 -0700)
This patch fixes the following checkpatch error:
ERROR: space prohibited before open square bracket '['

Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_core.c

index 0cea2dc2a3d09e8a349a27be207362c9f4d05f4b..07601b96fdf4799f40a8841ff22165d020e16c34 100644 (file)
@@ -2502,11 +2502,11 @@ static void rtl8192_init_priv_variable(struct net_device *dev)
 
        /* Tx related queue */
        for (i = 0; i < MAX_QUEUE_SIZE; i++)
-               skb_queue_head_init(&priv->ieee80211->skb_waitQ [i]);
+               skb_queue_head_init(&priv->ieee80211->skb_waitQ[i]);
        for (i = 0; i < MAX_QUEUE_SIZE; i++)
-               skb_queue_head_init(&priv->ieee80211->skb_aggQ [i]);
+               skb_queue_head_init(&priv->ieee80211->skb_aggQ[i]);
        for (i = 0; i < MAX_QUEUE_SIZE; i++)
-               skb_queue_head_init(&priv->ieee80211->skb_drv_aggQ [i]);
+               skb_queue_head_init(&priv->ieee80211->skb_drv_aggQ[i]);
        priv->rf_set_chan = rtl8192_phy_SwChnl;
 }
 
@@ -3686,12 +3686,12 @@ int rtl8192_down(struct net_device *dev)
 
        /* Tx related queue release */
        for (i = 0; i < MAX_QUEUE_SIZE; i++)
-               skb_queue_purge(&priv->ieee80211->skb_waitQ [i]);
+               skb_queue_purge(&priv->ieee80211->skb_waitQ[i]);
        for (i = 0; i < MAX_QUEUE_SIZE; i++)
-               skb_queue_purge(&priv->ieee80211->skb_aggQ [i]);
+               skb_queue_purge(&priv->ieee80211->skb_aggQ[i]);
 
        for (i = 0; i < MAX_QUEUE_SIZE; i++)
-               skb_queue_purge(&priv->ieee80211->skb_drv_aggQ [i]);
+               skb_queue_purge(&priv->ieee80211->skb_drv_aggQ[i]);
 
        //as cancel_delayed_work will del work->timer, so if work is not defined as struct delayed_work, it will corrupt
        rtl8192_cancel_deferred_work(priv);