Author: hailfinger Date: 2008-02-14 17:59:37 +0100 (Thu, 14 Feb 2008) New Revision: 597
Modified: coreboot-v3/device/pci_device.c Log: Kill dead code inside #if 0.
The code was blindly copied from v2 in v3:r69. Was never enabled in v2 (committed as dead code by Eric Biederman in v2:r1664 with log message "Updates for 64bit resource support, handling missing devices and cpus in the config file").
Signed-off-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net Acked-by: Ronald G. Minnich rminnich@gmail.com
Modified: coreboot-v3/device/pci_device.c =================================================================== --- coreboot-v3/device/pci_device.c 2008-02-13 22:51:03 UTC (rev 596) +++ coreboot-v3/device/pci_device.c 2008-02-14 16:59:37 UTC (rev 597) @@ -247,19 +247,6 @@ if (resource->limit > limit) { resource->limit = limit; } -#if 0 - if (resource->flags) { - printk(BIOS_DEBUG, "%s %02x ->", - dev_path(dev), resource->index); - printk(BIOS_DEBUG, - " value: 0x%08llx zeroes: 0x%08llx ones: 0x%08llx attr: %08lx\n", - value, zeroes, ones, attr); - printk(BIOS_DEBUG, - "%s %02x -> size: 0x%08llx max: 0x%08llx %s\n ", - dev_path(dev), resource->index, resource->size, - resource->limit, resource_type(resource)); - } -#endif
return resource; }