diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/device/resource_allocator_v3.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/device/resource_allocator_v3.c b/src/device/resource_allocator_v3.c index 4eeb2409f8..236e149cef 100644 --- a/src/device/resource_allocator_v3.c +++ b/src/device/resource_allocator_v3.c @@ -241,12 +241,8 @@ static void __allocate_resources(struct bus *bus, struct resource *bridge, resource->limit = bridge->limit; /* Size 0 resources can be skipped. */ - if (!resource->size) { - /* Set the base to limit so it doesn't confuse tolm. */ - resource->base = resource->limit; - resource->flags |= IORESOURCE_ASSIGNED; + if (!resource->size) continue; - } if (resource->flags & IORESOURCE_IO) { /* |