summaryrefslogtreecommitdiff
path: root/src/device/resource_allocator_v4.c
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-03-23 15:10:04 +0100
committerElyes Haouas <ehaouas@noos.fr>2024-04-11 19:19:08 +0000
commit31402178c56108e752b95c34562b6e3554a2c1d8 (patch)
tree0ac4a3cea23ce5c66cc91f2883d3b30184d0f565 /src/device/resource_allocator_v4.c
parent1dc8f0272bd222125d2d26cfa2b311f3d134f6ca (diff)
tree: Remove blank lines before '}' and after '{'
Change-Id: I46a362270f69d0a4a28e5bb9c954f34d632815ff Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81455 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/device/resource_allocator_v4.c')
-rw-r--r--src/device/resource_allocator_v4.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/device/resource_allocator_v4.c b/src/device/resource_allocator_v4.c
index c9630bb4b0..44782d87a1 100644
--- a/src/device/resource_allocator_v4.c
+++ b/src/device/resource_allocator_v4.c
@@ -140,7 +140,6 @@ static void update_bridge_resource(const struct device *bridge, struct resource
print_bridge_res(bridge, bridge_res, print_depth, "");
while ((child = largest_resource(bus, &child_res, type_mask, type_match))) {
-
/* Size 0 resources can be skipped. */
if (!child_res->size)
continue;
@@ -260,7 +259,6 @@ static void compute_domain_resources(const struct device *domain)
return;
for (child = domain->downstream->children; child; child = child->sibling) {
-
/* Skip if this is not a bridge or has no children under it. */
if (!dev_has_children(child))
continue;
@@ -400,7 +398,6 @@ static void allocate_toplevel_resources(const struct device *const domain,
setup_resource_ranges(domain, type, &ranges);
while ((dev = largest_resource(domain->downstream, &res, type_mask, type))) {
-
if (!res->size)
continue;
@@ -557,7 +554,6 @@ void allocate_resources(const struct device *root)
return;
for (child = root->downstream->children; child; child = child->sibling) {
-
if (child->path.type != DEVICE_PATH_DOMAIN)
continue;