[PATCH 05/34] staging: bcm: for loop neatening

Joe Perches joe at perches.com
Wed Jan 11 23:51:42 UTC 2012


On Wed, 2012-01-11 at 22:03 +0000, Julie Sullivan wrote:
> OK, so it's probably obvious to everyone else, but please indulge a
> newbie. Why do we need a for() here? I've looked at the source file
> and I'm missing whatever it is.
> (I guess it must be deliberate, it's in more than one place in the source file.)
> 
> -               for (uiLoopIndex=0; uiLoopIndex < 1; uiLoopIndex++)
> +               for (uiLoopIndex = 0; uiLoopIndex < 1; uiLoopIndex++)

Hi Julie.

It's not at all obvious.

Presumably it was larger once and the person
making the change decided to be lazy.




More information about the devel mailing list