From 98f6d45b69b3b1deee5837d38019675cbda42eae Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Thu, 14 Feb 2008 16:59:37 +0000 Subject: [PATCH] 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 Acked-by: Ronald G. Minnich git-svn-id: svn://coreboot.org/repository/coreboot-v3@597 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- device/pci_device.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/device/pci_device.c b/device/pci_device.c index e31a26066e..91ab189f23 100644 --- a/device/pci_device.c +++ b/device/pci_device.c @@ -247,19 +247,6 @@ struct resource *pci_get_resource(struct device *dev, unsigned long index) 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; }