summaryrefslogtreecommitdiff
path: root/src/northbridge/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/intel')
-rw-r--r--src/northbridge/intel/e7520/northbridge.c3
-rw-r--r--src/northbridge/intel/e7525/northbridge.c3
-rw-r--r--src/northbridge/intel/i3100/northbridge.c3
3 files changed, 3 insertions, 6 deletions
diff --git a/src/northbridge/intel/e7520/northbridge.c b/src/northbridge/intel/e7520/northbridge.c
index 93604b6cf7..02f7c45495 100644
--- a/src/northbridge/intel/e7520/northbridge.c
+++ b/src/northbridge/intel/e7520/northbridge.c
@@ -183,9 +183,8 @@ static void mc_read_resources(device_t dev)
static void mc_set_resources(device_t dev)
{
- struct resource *resource, *last;
+ struct resource *resource;
- last = &dev->resource[dev->resources];
resource = find_resource(dev, 0xcf);
if (resource) {
report_resource_stored(dev, resource, "<mmconfig>");
diff --git a/src/northbridge/intel/e7525/northbridge.c b/src/northbridge/intel/e7525/northbridge.c
index 559dc15b8b..a227f22987 100644
--- a/src/northbridge/intel/e7525/northbridge.c
+++ b/src/northbridge/intel/e7525/northbridge.c
@@ -183,9 +183,8 @@ static void mc_read_resources(device_t dev)
static void mc_set_resources(device_t dev)
{
- struct resource *resource, *last;
+ struct resource *resource;
- last = &dev->resource[dev->resources];
resource = find_resource(dev, 0xcf);
if (resource) {
report_resource_stored(dev, resource, "<mmconfig>");
diff --git a/src/northbridge/intel/i3100/northbridge.c b/src/northbridge/intel/i3100/northbridge.c
index 195790f8cd..0675aea6bc 100644
--- a/src/northbridge/intel/i3100/northbridge.c
+++ b/src/northbridge/intel/i3100/northbridge.c
@@ -204,9 +204,8 @@ static void mc_read_resources(device_t dev)
static void mc_set_resources(device_t dev)
{
- struct resource *resource, *last;
+ struct resource *resource;
- last = &dev->resource[dev->resources];
resource = find_resource(dev, 0xcf);
if (resource) {
report_resource_stored(dev, resource, "<mmconfig>");