[coreboot-gerrit] Change in coreboot[master]: mainboard/gigabyte/ga_2761gxdk: Remove unnecessary braces {}

Elyes HAOUAS (Code Review) gerrit at coreboot.org
Thu Feb 1 08:54:06 CET 2018


Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/23529


Change subject: mainboard/gigabyte/ga_2761gxdk: Remove unnecessary braces {}
......................................................................

mainboard/gigabyte/ga_2761gxdk: Remove unnecessary braces {}

Fix coding style

Change-Id: Id1c7104eb8520f20c826f5936029739a093d4dba
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/mainboard/gigabyte/ga_2761gxdk/mptable.c
1 file changed, 6 insertions(+), 7 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/29/23529/1

diff --git a/src/mainboard/gigabyte/ga_2761gxdk/mptable.c b/src/mainboard/gigabyte/ga_2761gxdk/mptable.c
index 1544205..991f24e 100644
--- a/src/mainboard/gigabyte/ga_2761gxdk/mptable.c
+++ b/src/mainboard/gigabyte/ga_2761gxdk/mptable.c
@@ -88,17 +88,16 @@
 	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);

-- 
To view, visit https://review.coreboot.org/23529
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id1c7104eb8520f20c826f5936029739a093d4dba
Gerrit-Change-Number: 23529
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes HAOUAS <ehaouas at noos.fr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180201/82fe663f/attachment-0001.html>


More information about the coreboot-gerrit mailing list