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

From: Greg KH
Date: Tue Apr 08 2014 - 17:09:01 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/