aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655
diff options
context:
space:
mode:
authorTeodora Baluta <teobaluta@gmail.com>2013-11-09 01:00:02 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-10 11:03:18 -0800
commitb4f66ad83bcfa45247f5d587168b884435a566c4 (patch)
treeec23f272e142814617d4a2e3cb66ceab9c9c3569 /drivers/staging/vt6655
parentstaging: vt6655: remove braces for single statement blocks (diff)
downloadlinux-dev-b4f66ad83bcfa45247f5d587168b884435a566c4.tar.xz
linux-dev-b4f66ad83bcfa45247f5d587168b884435a566c4.zip
staging: vt6655: put trailing statements on next line
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>
Diffstat (limited to 'drivers/staging/vt6655')
-rw-r--r--drivers/staging/vt6655/bssdb.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/drivers/staging/vt6655/bssdb.c b/drivers/staging/vt6655/bssdb.c
index 6c27be4ae9fa..ef660cd88d45 100644
--- a/drivers/staging/vt6655/bssdb.c
+++ b/drivers/staging/vt6655/bssdb.c
@@ -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);
}