summaryrefslogtreecommitdiff
path: root/src/devices
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-17 04:38:22 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-17 04:38:22 +0000
commitdfd29aa41347083fbc7a26ca7d639f7f60fe1eea (patch)
tree6bab3d0945093c519293a2b0dfd159ccd807b439 /src/devices
parentcfef7dff9b80b42e2c9373e8c80d8e5ba2bf8d02 (diff)
drop shadow variable from hypertransport code.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5250 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/hypertransport.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/devices/hypertransport.c b/src/devices/hypertransport.c
index 4bdf4ef8b8..f5ac1a6c27 100644
--- a/src/devices/hypertransport.c
+++ b/src/devices/hypertransport.c
@@ -551,7 +551,6 @@ unsigned int hypertransport_scan_chain(struct bus *bus,
#if CONFIG_HT_CHAIN_END_UNITID_BASE != 0x20
if(offset_unitid && (ht_dev_num>1) && (real_last_unitid != CONFIG_HT_CHAIN_END_UNITID_BASE) && !end_used) {
uint16_t flags;
- device_t last_func = 0;
flags = pci_read_config16(real_last_dev, real_last_pos + PCI_CAP_FLAGS);
flags &= ~0x1f;
flags |= CONFIG_HT_CHAIN_END_UNITID_BASE & 0x1f;