Re: [PATCH] Staging: bcm: Qos: fixed braces' coding style

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

 



On Wed, Apr 09, 2014 at 01:01:05AM +0200, Luis Ortega wrote:
> Fixed badly placed and unnecessary braces.
> 
> PS: Performed as task 10 of the Eudyptula Challenge.
> 
> Signed-off-by: Luis Ortega <luiorpe1@xxxxxxxxx>
> ---
>  drivers/staging/bcm/Qos.c | 174 +++++++++++++---------------------------------
>  1 file changed, 48 insertions(+), 126 deletions(-)
> 
> diff --git a/drivers/staging/bcm/Qos.c b/drivers/staging/bcm/Qos.c
> index 4f31583..4b9ce26 100644
> --- a/drivers/staging/bcm/Qos.c
> +++ b/drivers/staging/bcm/Qos.c
> @@ -33,14 +33,11 @@ static bool MatchSrcIpAddress(struct bcm_classifier_rule *pstClassifierRule, ULO
>  	ulSrcIP = ntohl(ulSrcIP);
>  	if (0 == pstClassifierRule->ucIPSourceAddressLength)
>  		return TRUE;
> -	for (ucLoopIndex = 0; ucLoopIndex < (pstClassifierRule->ucIPSourceAddressLength); ucLoopIndex++)
> -	{
> +	for (ucLoopIndex = 0; ucLoopIndex < (pstClassifierRule->ucIPSourceAddressLength); ucLoopIndex++) 	{

Why the <TAB> before the '{' character?

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-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