staging: vt6655: put trailing statements on next line
authorTeodora Baluta <teobaluta@gmail.com>
Fri, 8 Nov 2013 23:00:02 +0000 (01:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Nov 2013 19:03:18 +0000 (11:03 -0800)
This patch fixes the following type of checkpatch.pl errors in
drivers/staging/vt6655/bssdb.c file:

ERROR: trailing statements should be on next line

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
Reviewed-by: Lisa Nguyen <lisa@xenapiadmin.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/bssdb.c

index 6c27be4..ef660cd 100644 (file)
@@ -142,7 +142,8 @@ BSSpSearchBSSList(
                /* match BSSID first */
                for (ii = 0; ii < MAX_BSS_NUM; ii++) {
                        pCurrBSS = &(pMgmt->sBSSList[ii]);
-                       if (pDevice->bLinkPass == false) pCurrBSS->bSelected = false;
+                       if (pDevice->bLinkPass == false)
+                               pCurrBSS->bSelected = false;
                        if ((pCurrBSS->bActive) &&
                            (pCurrBSS->bSelected == false)) {
                                if (ether_addr_equal(pCurrBSS->abyBSSID,
@@ -940,7 +941,8 @@ BSSvSecondCallBack(
                if (pDevice->bHWRadioOff == true) {
                        if (!(pDevice->byGPIO & GPIO0_DATA))
                        {
-                               if (status == 1) goto start;
+                               if (status == 1)
+                                       goto start;
                                status = 1;
                                CARDbRadioPowerOff(pDevice);
                                pMgmt->sNodeDBTable[0].bActive = false;
@@ -951,14 +953,16 @@ BSSvSecondCallBack(
                        }
                        if (pDevice->byGPIO & GPIO0_DATA)
                        {
-                               if (status == 2) goto start;
+                               if (status == 2)
+                                       goto start;
                                status = 2;
                                CARDbRadioPowerOn(pDevice);
                        }
                } else {
                        if (pDevice->byGPIO & GPIO0_DATA)
                        {
-                               if (status == 3) goto start;
+                               if (status == 3)
+                                       goto start;
                                status = 3;
                                CARDbRadioPowerOff(pDevice);
                                pMgmt->sNodeDBTable[0].bActive = false;
@@ -969,7 +973,8 @@ BSSvSecondCallBack(
                        }
                        if (!(pDevice->byGPIO & GPIO0_DATA))
                        {
-                               if (status == 4) goto start;
+                               if (status == 4)
+                                       goto start;
                                status = 4;
                                CARDbRadioPowerOn(pDevice);
                        }