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>
This commit is contained in:
@@ -40,5 +40,4 @@ void buffer_to_fifo32_prefix(const void *buffer, u32 prefix, int prefsz, size_t
|
||||
val = 0;
|
||||
j = 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -1491,7 +1491,6 @@ void pci_scan_bus(struct bus *bus, unsigned int min_devfn,
|
||||
|
||||
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 @@ void pci_assign_irqs(struct device *dev, const unsigned char pIntAtoD[4])
|
||||
slot = dev->path.pci.devfn >> 3;
|
||||
|
||||
for (; dev ; dev = dev->sibling) {
|
||||
|
||||
if (dev->path.pci.devfn >> 3 != slot)
|
||||
break;
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user