[PATCH 8/9] staging: csr: Move open brace to previous line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Moved open braces to previous lines to resolve errors
generated by checkpatch.pl and meet kernel coding standards
in sme_userspace.c

Signed-off-by: Lisa Nguyen <lisa@xxxxxxxxxxxxxxx>
---
 drivers/staging/csr/sme_userspace.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/csr/sme_userspace.c b/drivers/staging/csr/sme_userspace.c
index b4f6d67..7e9db10 100644
--- a/drivers/staging/csr/sme_userspace.c
+++ b/drivers/staging/csr/sme_userspace.c
@@ -223,8 +223,7 @@ unifi_ta_indicate_protocol(void *ospriv,
 	    return;
     }
 
-    if (CSR_WIFI_ROUTER_CTRL_PROTOCOL_DIRECTION_RX == direction)
-    {
+    if (CSR_WIFI_ROUTER_CTRL_PROTOCOL_DIRECTION_RX == direction) {
 	    u16 interfaceTag = 0;
 	    CsrWifiRouterCtrlTrafficProtocolIndSend(priv->CSR_WIFI_SME_IFACEQUEUE, 0,
 			    interfaceTag,
@@ -232,8 +231,7 @@ unifi_ta_indicate_protocol(void *ospriv,
 			    direction,
 			    *src_addr);
     }
-    else
-    {
+    else {
 	    priv->ta_ind_work.packet_type = packet_type;
 	    priv->ta_ind_work.direction = direction;
 	    priv->ta_ind_work.src_addr = *src_addr;
-- 
1.8.1.2

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux