drop shadow variable from hypertransport code.
authorStefan Reinauer <stepan@coresystems.de>
Wed, 17 Mar 2010 04:38:22 +0000 (04:38 +0000)
committerStefan Reinauer <stepan@openbios.org>
Wed, 17 Mar 2010 04:38:22 +0000 (04:38 +0000)
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

src/devices/hypertransport.c

index 4bdf4ef8b892d32a1819b8200251e0bec813f632..f5ac1a6c27a14107a0fe0b7b5d0c30919688077a 100644 (file)
@@ -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;