removed comment and {} not necessary for single statement blocks Signed-off-by: Javier Carrizo <javiercarrizo78@xxxxxxxxx> --- 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 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel