summaryrefslogtreecommitdiff
path: root/src/lib
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/lib
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/lib')
-rw-r--r--src/lib/coreboot_table.c1
-rw-r--r--src/lib/edid.c1
-rw-r--r--src/lib/hardwaremain.c1
-rw-r--r--src/lib/memrange.c2
-rw-r--r--src/lib/region_file.c1
-rw-r--r--src/lib/stack.c1
6 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/coreboot_table.c b/src/lib/coreboot_table.c
index d93ba01037..d7b6126385 100644
--- a/src/lib/coreboot_table.c
+++ b/src/lib/coreboot_table.c
@@ -387,7 +387,6 @@ static void lb_strings(struct lb_header *header)
rec->size = ALIGN_UP(sizeof(*rec) + len + 1, LB_ENTRY_ALIGN);
memcpy(rec->string, strings[i].string, len+1);
}
-
}
static void lb_record_version_timestamp(struct lb_header *header)
diff --git a/src/lib/edid.c b/src/lib/edid.c
index 06b9ceefc1..c294a3f055 100644
--- a/src/lib/edid.c
+++ b/src/lib/edid.c
@@ -1389,7 +1389,6 @@ int decode_edid(unsigned char *edid, int size, struct edid *out)
out->mode_is_supported[j] = 1;
}
}
-
}
printk(BIOS_SPEW, "Standard timings supported:\n");
diff --git a/src/lib/hardwaremain.c b/src/lib/hardwaremain.c
index 7badfbc4ef..fda6c62d2e 100644
--- a/src/lib/hardwaremain.c
+++ b/src/lib/hardwaremain.c
@@ -316,7 +316,6 @@ static struct state_tracker {
static void bs_walk_state_machine(void)
{
-
while (1) {
struct boot_state *state;
boot_state_t next_id;
diff --git a/src/lib/memrange.c b/src/lib/memrange.c
index 9ae3e3e541..316dce6f56 100644
--- a/src/lib/memrange.c
+++ b/src/lib/memrange.c
@@ -183,7 +183,6 @@ static void merge_add_memranges(struct memranges *ranges,
/* The new entry starts after this one. */
if (begin > cur->end)
continue;
-
}
/* Add new entry and merge with neighbors. */
@@ -389,7 +388,6 @@ memranges_find_entry(struct memranges *ranges, resource_t limit, resource_t size
return NULL;
memranges_each_entry(r, ranges) {
-
if (r->tag != tag)
continue;
diff --git a/src/lib/region_file.c b/src/lib/region_file.c
index f3e66bfcfb..f77b9b0c3b 100644
--- a/src/lib/region_file.c
+++ b/src/lib/region_file.c
@@ -242,7 +242,6 @@ int region_file_init(struct region_file *f, const struct region_device *p)
int region_file_data(const struct region_file *f, struct region_device *rdev)
{
-
size_t offset;
size_t size;
diff --git a/src/lib/stack.c b/src/lib/stack.c
index 479ed93c05..6e563db7b7 100644
--- a/src/lib/stack.c
+++ b/src/lib/stack.c
@@ -57,5 +57,4 @@ int checkstack(void *top_of_stack, int core)
}
return 0;
-
}