src/lib: Remove braces for single statements
Fix the following warning detected by checkpatch.pl: WARNING: braces {} are not necessary for single statement blocks TEST=Build and run on Galileo Gen2 Change-Id: Ie4b41f6fb75142ddd75103a55e0347ed85e7e873 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18697 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins)
This commit is contained in:
@ -62,9 +62,8 @@ void dump_spd_registers(void)
|
||||
printk(BIOS_DEBUG, "dimm %02x", device);
|
||||
for(i = 0; (i < 256) && (status == 0); i++) {
|
||||
unsigned int char byte;
|
||||
if ((i % 20) == 0) {
|
||||
if ((i % 20) == 0)
|
||||
printk(BIOS_DEBUG, "\n%3d: ", i);
|
||||
}
|
||||
status = smbus_read_byte(device, i, &byte);
|
||||
if (status != 0) {
|
||||
printk(BIOS_DEBUG, "bad device\n");
|
||||
|
Reference in New Issue
Block a user