Re: [PATCH] staging: vt6656: resolved checkpatch finding

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

 



On Fri, Oct 29, 2010 at 07:12:59PM -0300, Javier Carrizo wrote:
> 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;
> +

No, this still need to be indented properly.  Please do that and resend.

thanks,

greg k-h
_______________________________________________
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