1 Nov 2009 03:03
Re: [PATCH 08/10] OMAP3 zoom2 Use usbtty if the debug board is not connected.
Tom <Tom.Rix <at> windriver.com>
2009-11-01 02:03:45 GMT
2009-11-01 02:03:45 GMT
Mike Frysinger wrote:
> On Saturday 31 October 2009 13:37:45 Tom Rix wrote:
>> + } else {
>> + usbtty_putc(c);
>> }
>
> dont need those braces (same goes for a few other hunks here)
> -mike
This is done because if-statement above use braces.
If this was a simple
if (foo)
smt_1
else
smt_2
I would have not use braces.
Tom
RSS Feed