From 3f34fc4bf37b6f25fa2af4ede3b870c4841a04b6 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 15 Aug 2013 20:41:15 +0200 Subject: 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 Reviewed-on: http://review.coreboot.org/3873 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel --- src/mainboard/emulation/qemu-i440fx/northbridge.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mainboard/emulation/qemu-i440fx') diff --git a/src/mainboard/emulation/qemu-i440fx/northbridge.c b/src/mainboard/emulation/qemu-i440fx/northbridge.c index c08d59e795..2ea4a68c98 100644 --- a/src/mainboard/emulation/qemu-i440fx/northbridge.c +++ b/src/mainboard/emulation/qemu-i440fx/northbridge.c @@ -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; -- cgit v1.2.3