[PATCH] staging: vt6656: resolved checkpatch finding

Javier Carrizo javiercarrizo78 at gmail.com
Fri Oct 29 22:12:59 UTC 2010


removed comment and {} not necessary for single statement blocks

Signed-off-by: Javier Carrizo <javiercarrizo78 at gmail.com>
---
 drivers/staging/vt6656/card.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/vt6656/card.c b/drivers/staging/vt6656/card.c
index 8de21aa..fe77900 100644
--- a/drivers/staging/vt6656/card.c
+++ b/drivers/staging/vt6656/card.c
@@ -1098,10 +1098,9 @@ CARDbChannelSwitch (
     pDevice->byNewChannel = byNewChannel;
     pDevice->bChannelSwitch = TRUE;
 
-    if (byMode == 1) {
-        //bResult=CARDbStopTxPacket(pDevice, PKT_TYPE_802_11_ALL);
-        pDevice->bStopDataPkt = TRUE;
-    }
+if (byMode == 1)
+	pDevice->bStopDataPkt = TRUE;
+
 	return bResult;
 }
 
-- 
1.7.2.2




More information about the devel mailing list