From cee9b6ee30b815f4e2facbca76ec416969223401 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Thu, 1 Feb 2018 08:30:22 +0100 Subject: mainboard/gigabyte/ga_2761gxdk: Remove unnecessary braces {} Fix coding style Change-Id: Id1c7104eb8520f20c826f5936029739a093d4dba Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/23529 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/mainboard/gigabyte/ga_2761gxdk/mptable.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'src/mainboard/gigabyte') diff --git a/src/mainboard/gigabyte/ga_2761gxdk/mptable.c b/src/mainboard/gigabyte/ga_2761gxdk/mptable.c index 15442057f5..991f24e800 100644 --- a/src/mainboard/gigabyte/ga_2761gxdk/mptable.c +++ b/src/mainboard/gigabyte/ga_2761gxdk/mptable.c @@ -88,17 +88,16 @@ static void *smp_write_config_table(void *v) PCI_INT(0, sbdn+5, 2, 0x15); // 21 PCI_INT(0, sbdn+8, 0, 0x16); // 22 - for(j = 7; j >= 2; j--) { - if(!bus_sis966[j]) continue; - for(i = 0; i < 4; i++) { + for (j = 7; j >= 2; j--) { + if (!bus_sis966[j]) + continue; + for (i = 0; i < 4; i++) PCI_INT(j, 0x00, i, 0x10 + (2+j+i+4-sbdn%4)%4); - } } - for(j = 0; j < 2; j++) - for(i = 0; i < 4; i++) { + for (j = 0; j < 2; j++) + for (i = 0; i < 4; i++) PCI_INT(1, 0x06+j, i, 0x10 + (2+i+j)%4); - } /*Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN#*/ mptable_lintsrc(mc, bus_isa); -- cgit v1.2.3