aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/sis/sis966/sis966_lpc.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2007-11-05 22:21:27 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2007-11-05 22:21:27 +0000
commita358892e2cd6f57c0645dc95120fd253d75e20b7 (patch)
tree2d3b421a19a6696ae1033fb55c6d810268b22084 /src/southbridge/sis/sis966/sis966_lpc.c
parent39462d71565b44056418e0baf36aeb9ef631a75c (diff)
* Change one PCI vendor ID from Nvidia to SiS
* Remove dead code * Remove unused variables * Fix bug where array was one element too small * Fix error value truncation, the old code never entered the error path * Remove warnings Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2945 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/sis/sis966/sis966_lpc.c')
-rw-r--r--src/southbridge/sis/sis966/sis966_lpc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/southbridge/sis/sis966/sis966_lpc.c b/src/southbridge/sis/sis966/sis966_lpc.c
index 211b19caed..9e64e16076 100644
--- a/src/southbridge/sis/sis966/sis966_lpc.c
+++ b/src/southbridge/sis/sis966/sis966_lpc.c
@@ -234,7 +234,6 @@ static void lpc_init(device_t dev)
static void sis966_lpc_read_resources(device_t dev)
{
struct resource *res;
- unsigned long index;
/* Get the normal pci resources of this device */
pci_dev_read_resources(dev); // We got one for APIC, or one more for TRAP