From bf22338a0957bb7af765e112dc0c892b119ee525 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Sun, 20 Oct 2013 00:41:28 +0200 Subject: southbridge/via/vt8237r/ctrl.c: Remove set but unused variable `regm3` Change-Id: I6bb652419a54b7b7190e417346581f38335425ae Signed-off-by: Paul Menzel Reviewed-on: http://review.coreboot.org/3985 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer Reviewed-by: Ronald G. Minnich --- src/southbridge/via/vt8237r/ctrl.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/southbridge/via/vt8237r/ctrl.c b/src/southbridge/via/vt8237r/ctrl.c index 78a15e3590..e61b8f264f 100644 --- a/src/southbridge/via/vt8237r/ctrl.c +++ b/src/southbridge/via/vt8237r/ctrl.c @@ -29,7 +29,7 @@ static void vt8237_cfg(struct device *dev) { - u8 regm, regm3; + u8 regm; device_t devfun3; devfun3 = dev_find_device(PCI_VENDOR_ID_VIA, @@ -80,8 +80,7 @@ static void vt8237_cfg(struct device *dev) regm = pci_read_config8(devfun3, 0x83); pci_write_config8(dev, 0x63, regm); - // FIXME is this really supposed to be regm3? - regm3 = pci_read_config8(devfun3, 0x82);/* Shadow page E */ + regm = pci_read_config8(devfun3, 0x82);/* Shadow page E */ pci_write_config8(dev, 0x64, regm); regm = pci_read_config8(devfun3, 0x86); /* SMM and APIC decoding */ -- cgit v1.2.3