lkml.org 
[lkml]   [2014]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Staging: bcm: Qos: fixed braces' coding style
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@gmail.com>
> ---
> 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


\
 
 \ /
  Last update: 2014-04-08 23:41    [W:0.043 / U:0.388 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site