[PATCH 05/34] staging: bcm: for loop neatening
joe at perches.com
Wed Jan 11 15:51:42 PST 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++)
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