emulation/qemu-i440fx: style cleanup

Drop unused and commented out variable, and fix a comment while at it.

Change-Id: I1bd7d10aca949c8579433ea1c91264fd816a3fb4
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/3873
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
Patrick Georgi 2013-08-15 20:41:15 +02:00
parent 1e44c3ff5a
commit 3f34fc4bf3
1 changed files with 1 additions and 2 deletions

View File

@ -54,7 +54,6 @@ static void cpu_pci_domain_read_resources(struct device *dev)
{
u16 nbid = pci_read_config16(dev_find_slot(0, 0), PCI_DEVICE_ID);
int i440fx = (nbid == 0x1237);
// int q35 = (nbid == 0x29c0);
struct resource *res;
unsigned long tomk = 0, high;
int idx = 10;
@ -94,7 +93,7 @@ static void cpu_pci_domain_read_resources(struct device *dev)
if (i440fx) {
/* Reserve space for the IOAPIC. This should be in
* the Southbridge, but I couldn't tell which device
* the southbridge, but I couldn't tell which device
* to put it in. */
res = new_resource(dev, 2);
res->base = IO_APIC_ADDR;