[coreboot] [PATCH] v3: remove superfluous #if 1

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Thu Feb 14 01:09:36 CET 2008


Remove superfluous #if 1. The code has been enabled since it was
committed, the #if 1 never served any purpose.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>

Index: LinuxBIOSv3-if0crud/device/pci_device.c
===================================================================
--- LinuxBIOSv3-if0crud/device/pci_device.c	(Revision 596)
+++ LinuxBIOSv3-if0crud/device/pci_device.c	(Arbeitskopie)
@@ -1284,7 +1284,6 @@
 	outb((unsigned char)(intBits >> 8), 0x4d1);
 
 	/* This seems like an error but is not. */
-#if 1
 	if (inb(0x4d0) != (intBits & 0xff)) {
 		printk(BIOS_ERR,
 		       "%s: lower order bits are wrong: want 0x%x, got 0x%x\n",
@@ -1295,7 +1294,6 @@
 		       "%s: lower order bits are wrong: want 0x%x, got 0x%x\n",
 		       __func__, (intBits >> 8) & 0xff, inb(0x4d1));
 	}
-#endif
 }
 
 /**


-- 
http://www.hailfinger.org/





More information about the coreboot mailing list