Skip to content

Commit fe40a0b

Browse files
v-thakkargregkh
authored andcommitted
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: Vaishali Thakkar <vthakkar1994@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 5c8b396 commit fe40a0b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎drivers/staging/rtl8192e/rtl8192e/rtl_core.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -600,9 +600,9 @@ static void rtl8192_qos_activate(void *data)
600600
RT_TRACE(COMP_QOS, "qos active process with associate response "
601601
"received\n");
602602

603-
for (i = 0; i < QOS_QUEUE_NUM; i++) {
603+
for (i = 0; i < QOS_QUEUE_NUM; i++)
604604
priv->rtllib->SetHwRegHandler(dev, HW_VAR_AC_PARAM, (u8 *)(&i));
605-
}
605+
606606

607607
success:
608608
mutex_unlock(&priv->mutex);
@@ -1510,7 +1510,7 @@ static void rtl819x_ifsilentreset(struct net_device *dev)
15101510
RT_TRACE(COMP_ERR, "%s():the driver is not up! "
15111511
"return\n", __func__);
15121512
up(&priv->wx_sem);
1513-
return ;
1513+
return;
15141514
}
15151515
priv->up = 0;
15161516

0 commit comments

Comments
 (0)