Commit fe40a0b3 authored by Vaishali Thakkar's avatar Vaishali Thakkar Committed by Greg Kroah-Hartman

Staging: rtl8192e: rtl8192e: Remove unnecessory braces and space

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: default avatarVaishali Thakkar <vthakkar1994@gmail.com>
Acked-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5c8b3961
...@@ -600,9 +600,9 @@ static void rtl8192_qos_activate(void *data) ...@@ -600,9 +600,9 @@ static void rtl8192_qos_activate(void *data)
RT_TRACE(COMP_QOS, "qos active process with associate response " RT_TRACE(COMP_QOS, "qos active process with associate response "
"received\n"); "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)); priv->rtllib->SetHwRegHandler(dev, HW_VAR_AC_PARAM, (u8 *)(&i));
}
success: success:
mutex_unlock(&priv->mutex); mutex_unlock(&priv->mutex);
...@@ -1510,7 +1510,7 @@ static void rtl819x_ifsilentreset(struct net_device *dev) ...@@ -1510,7 +1510,7 @@ static void rtl819x_ifsilentreset(struct net_device *dev)
RT_TRACE(COMP_ERR, "%s():the driver is not up! " RT_TRACE(COMP_ERR, "%s():the driver is not up! "
"return\n", __func__); "return\n", __func__);
up(&priv->wx_sem); up(&priv->wx_sem);
return ; return;
} }
priv->up = 0; priv->up = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment