[PATCH 5/9] staging: csr: Add space before open brace

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

 



Added space before each open brace when necessary 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 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/csr/sme_userspace.c b/drivers/staging/csr/sme_userspace.c
index 601ae98..cca49f0 100644
--- a/drivers/staging/csr/sme_userspace.c
+++ b/drivers/staging/csr/sme_userspace.c
@@ -138,7 +138,7 @@ uf_sme_deinit(unifi_priv_t *priv)
     /* Remove all the Peer database, before going down */
     for (i = 0; i < CSR_WIFI_NUM_INTERFACES; i++) {
 	    down(&priv->ba_mutex);
-	    for (ba_session_idx = 0; ba_session_idx < MAX_SUPPORTED_BA_SESSIONS_RX; ba_session_idx++){
+	    for (ba_session_idx = 0; ba_session_idx < MAX_SUPPORTED_BA_SESSIONS_RX; ba_session_idx++) {
 		    ba_session_rx = priv->interfacePriv[i]->ba_session_rx[ba_session_idx];
 		    if (ba_session_rx) {
 			    blockack_session_stop(priv, i,
@@ -148,7 +148,7 @@ uf_sme_deinit(unifi_priv_t *priv)
 		    }
 	    }
 
-	    for (ba_session_idx = 0; ba_session_idx < MAX_SUPPORTED_BA_SESSIONS_TX; ba_session_idx++){
+	    for (ba_session_idx = 0; ba_session_idx < MAX_SUPPORTED_BA_SESSIONS_TX; ba_session_idx++) {
 		    ba_session_tx = priv->interfacePriv[i]->ba_session_tx[ba_session_idx];
 		    if (ba_session_tx) {
 			    blockack_session_stop(priv, i,
@@ -161,7 +161,7 @@ uf_sme_deinit(unifi_priv_t *priv)
 	    up(&priv->ba_mutex);
 	    interfacePriv = priv->interfacePriv[i];
 
-	    if (interfacePriv){
+	    if (interfacePriv) {
 		    for (j = 0; j < UNIFI_MAX_CONNECTIONS; j++) {
 			    if ((staInfo = interfacePriv->staInfo[j]) != NULL) {
 				    /* Clear the STA activity parameters before freeing station Record */
@@ -171,7 +171,7 @@ uf_sme_deinit(unifi_priv_t *priv)
 			    }
 		    }
 
-		    if (interfacePriv->sta_activity_check_enabled){
+		    if (interfacePriv->sta_activity_check_enabled) {
 			    interfacePriv->sta_activity_check_enabled = FALSE;
 			    del_timer_sync(&interfacePriv->sta_activity_check_timer);
 		    }
-- 
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