southbridge/via/vt8237r/ctrl.c: Remove set but unused variable `regm3`

Change-Id: I6bb652419a54b7b7190e417346581f38335425ae
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: http://review.coreboot.org/3985
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
Paul Menzel 2013-10-20 00:41:28 +02:00 committed by Stefan Reinauer
parent b0aec8f070
commit bf22338a09
1 changed files with 2 additions and 3 deletions

View File

@ -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 */