[PATCH] staging: vt6656: resolved checkpatch finding
Greg KH
greg at kroah.com
Tue Nov 9 23:52:45 UTC 2010
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 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;
> +
No, this still need to be indented properly. Please do that and resend.
thanks,
greg k-h
More information about the devel
mailing list