This patch fixes the following checkpatch error: ERROR: space prohibited before open square bracket '[' Signed-off-by: Xenia Ragiadakou <burzalodowa@xxxxxxxxx> --- drivers/staging/rtl8192u/r8192U_core.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c index 0cea2dc..07601b9 100644 --- a/drivers/staging/rtl8192u/r8192U_core.c +++ b/drivers/staging/rtl8192u/r8192U_core.c @@ -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); -- 1.7.10.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel