[U-Boot] [PATCH 08/10] OMAP3 zoom2 Use usbtty if the debug board is not connected.

Tom Tom.Rix at windriver.com
Sun Nov 1 03:03:45 CET 2009


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



More information about the U-Boot mailing list