summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/cbfs.c2
-rw-r--r--src/lib/dynamic_cbmem.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cbfs.c b/src/lib/cbfs.c
index 23e1600304..1f44695fb2 100644
--- a/src/lib/cbfs.c
+++ b/src/lib/cbfs.c
@@ -312,7 +312,7 @@ void *cbfs_load_payload(struct cbfs_media *media, const char *name)
void *cbfs_simple_buffer_map(struct cbfs_simple_buffer *buffer,
struct cbfs_media *media,
size_t offset, size_t count) {
- void *address = buffer->buffer + buffer->allocated;;
+ void *address = buffer->buffer + buffer->allocated;
DEBUG("simple_buffer_map(offset=%zd, count=%zd): "
"allocated=%zd, size=%zd, last_allocate=%zd\n",
offset, count, buffer->allocated, buffer->size,
diff --git a/src/lib/dynamic_cbmem.c b/src/lib/dynamic_cbmem.c
index e21f96e372..b934aedd51 100644
--- a/src/lib/dynamic_cbmem.c
+++ b/src/lib/dynamic_cbmem.c
@@ -294,7 +294,7 @@ const struct cbmem_entry *cbmem_entry_add(u32 id, u64 size64)
{
struct cbmem_root *root;
const struct cbmem_entry *entry;
- unsigned long base;;
+ unsigned long base;
u32 size;
u32 aligned_size;