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>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@597 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Carl-Daniel Hailfinger 2008-02-14 16:59:37 +00:00
parent f3ba6dc175
commit 98f6d45b69

View file

@ -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;
}