Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/81454?usp=email )
Change subject: device: Remove blank lines before '}' and after '{' ......................................................................
device: Remove blank lines before '}' and after '{'
Change-Id: I0f9495057c046b8de5b5f699f5bf38bb8e2795e4 Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M src/device/mmio.c M src/device/pci_device.c M src/device/resource_allocator_v4.c 3 files changed, 0 insertions(+), 7 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/81454/1
diff --git a/src/device/mmio.c b/src/device/mmio.c index b62805a..ec9acfa 100644 --- a/src/device/mmio.c +++ b/src/device/mmio.c @@ -40,5 +40,4 @@ val = 0; j = 0; } - } diff --git a/src/device/pci_device.c b/src/device/pci_device.c index 8ead8a5..af3355d 100644 --- a/src/device/pci_device.c +++ b/src/device/pci_device.c @@ -1491,7 +1491,6 @@
prev = &bus->children; for (dev = bus->children; dev; dev = dev->sibling) { - /* * If static device is not PCI then enable it here and don't * treat it as a leftover device. @@ -1851,7 +1850,6 @@ slot = dev->path.pci.devfn >> 3;
for (; dev ; dev = dev->sibling) { - if (dev->path.pci.devfn >> 3 != slot) break;
diff --git a/src/device/resource_allocator_v4.c b/src/device/resource_allocator_v4.c index c9630bb..44782d8 100644 --- a/src/device/resource_allocator_v4.c +++ b/src/device/resource_allocator_v4.c @@ -140,7 +140,6 @@ 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 @@ 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 @@ setup_resource_ranges(domain, type, &ranges);
while ((dev = largest_resource(domain->downstream, &res, type_mask, type))) { - if (!res->size) continue;
@@ -557,7 +554,6 @@ return;
for (child = root->downstream->children; child; child = child->sibling) { - if (child->path.type != DEVICE_PATH_DOMAIN) continue;