]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Staging: rtl8192e: rtl8192e: Remove unnecessory braces and space
authorVaishali Thakkar <vthakkar1994@gmail.com>
Wed, 17 Sep 2014 03:05:24 +0000 (08:35 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Sep 2014 00:11:06 +0000 (17:11 -0700)
This patch removes following checkpatch.pl warnings in rtl_core.c file:

WARNING: Braces {} are not necessary for single statement blocks
WARNING: Space prohibited before semicolon

Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/rtl_core.c

index 1425829e2ce758105c7fbc2aa436dfecae5d3f65..5615c80f614cab0c4860196117ab4d1f250e631a 100644 (file)
@@ -600,9 +600,9 @@ static void rtl8192_qos_activate(void *data)
        RT_TRACE(COMP_QOS, "qos active process with associate response "
                 "received\n");
 
-       for (i = 0; i <  QOS_QUEUE_NUM; i++) {
+       for (i = 0; i <  QOS_QUEUE_NUM; i++)
                priv->rtllib->SetHwRegHandler(dev, HW_VAR_AC_PARAM, (u8 *)(&i));
-       }
+
 
 success:
        mutex_unlock(&priv->mutex);
@@ -1510,7 +1510,7 @@ RESET_START:
                        RT_TRACE(COMP_ERR, "%s():the driver is not up! "
                                 "return\n", __func__);
                        up(&priv->wx_sem);
-                       return ;
+                       return;
                }
                priv->up = 0;