summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/imd.c2
-rw-r--r--src/lib/jpeg.c1
-rw-r--r--src/lib/prog_loaders.c1
-rw-r--r--src/lib/ramtest.c3
4 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/imd.c b/src/lib/imd.c
index e3a3927500..8f65fa8285 100644
--- a/src/lib/imd.c
+++ b/src/lib/imd.c
@@ -439,7 +439,7 @@ int imd_create_tiered_empty(struct imd *imd,
size_t lg_root_size, size_t lg_entry_align,
size_t sm_root_size, size_t sm_entry_align)
{
- size_t sm_region_size;;
+ size_t sm_region_size;
const struct imd_entry *e;
struct imdr *imdr;
diff --git a/src/lib/jpeg.c b/src/lib/jpeg.c
index 06c9d7c6cf..f06d490329 100644
--- a/src/lib/jpeg.c
+++ b/src/lib/jpeg.c
@@ -417,7 +417,6 @@ int jpeg_decode(unsigned char *buf, unsigned char *pic,
break;
default:
return ERR_DEPTH_MISMATCH;
- break;
}
}
}
diff --git a/src/lib/prog_loaders.c b/src/lib/prog_loaders.c
index 58c1a8a7e0..128869b2ba 100644
--- a/src/lib/prog_loaders.c
+++ b/src/lib/prog_loaders.c
@@ -166,7 +166,6 @@ static struct prog global_payload =
void __attribute__((weak)) mirror_payload(struct prog *payload)
{
- return;
}
void payload_load(void)
diff --git a/src/lib/ramtest.c b/src/lib/ramtest.c
index 806e7d75a5..419d0eb75f 100644
--- a/src/lib/ramtest.c
+++ b/src/lib/ramtest.c
@@ -120,9 +120,8 @@ static int ram_bitset_nodie(unsigned long start)
post_code(0xea);
printk(BIOS_DEBUG, "\nDRAM did _NOT_ verify!\n");
return 1;
- } else {
- printk(BIOS_DEBUG, "\nDRAM range verified.\n");
}
+ printk(BIOS_DEBUG, "\nDRAM range verified.\n");
return 0;
}