summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/agesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/amd/agesa')
-rw-r--r--src/northbridge/amd/agesa/family10/northbridge.c3
-rw-r--r--src/northbridge/amd/agesa/family15/northbridge.c4
2 files changed, 0 insertions, 7 deletions
diff --git a/src/northbridge/amd/agesa/family10/northbridge.c b/src/northbridge/amd/agesa/family10/northbridge.c
index 0fe1910577..5938e3275d 100644
--- a/src/northbridge/amd/agesa/family10/northbridge.c
+++ b/src/northbridge/amd/agesa/family10/northbridge.c
@@ -561,7 +561,6 @@ static void amdfam10_scan_chains(device_t dev)
unsigned sblink = sysconf.sblk;
device_t io_hub = NULL;
u32 next_unitid = 0xff;
- unsigned int max = dev->bus->subordinate;
nodeid = amdfam10_nodeid(dev);
if (nodeid == 0) {
@@ -578,8 +577,6 @@ static void amdfam10_scan_chains(device_t dev)
}
max = dev->bus->subordinate;
}
-
- dev->bus->subordinate = max;
}
static struct device_operations northbridge_operations = {
diff --git a/src/northbridge/amd/agesa/family15/northbridge.c b/src/northbridge/amd/agesa/family15/northbridge.c
index 94e16acea6..f13e3981af 100644
--- a/src/northbridge/amd/agesa/family15/northbridge.c
+++ b/src/northbridge/amd/agesa/family15/northbridge.c
@@ -465,7 +465,6 @@ static void scan_chains(device_t dev)
struct bus *link;
device_t io_hub = NULL;
u32 next_unitid = 0x18;
- unsigned int max = dev->bus->subordinate;
nodeid = amdfam15_nodeid(dev);
if (nodeid == 0) {
@@ -481,10 +480,7 @@ static void scan_chains(device_t dev)
pci_scan_bus(link, 0x00, ((next_unitid - 1) << 3) | 7);
}
}
- max = dev->bus->subordinate;
}
-
- dev->bus->subordinate = max;
}