summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;