Author: stepan Date: Wed Mar 17 05:38:22 2010 New Revision: 5250 URL: https://tracker.coreboot.org/trac/coreboot/changeset/5250
Log: drop shadow variable from hypertransport code.
Signed-off-by: Stefan Reinauer stepan@coresystems.de Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/src/devices/hypertransport.c
Modified: trunk/src/devices/hypertransport.c ============================================================================== --- trunk/src/devices/hypertransport.c Wed Mar 17 05:37:52 2010 (r5249) +++ trunk/src/devices/hypertransport.c Wed Mar 17 05:38:22 2010 (r5250) @@ -551,7 +551,6 @@ #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;