aboutsummaryrefslogtreecommitdiff
path: root/lib/utils
diff options
context:
space:
mode:
authorXiang W <wxjstz@126.com>2023-04-25 16:56:23 +0800
committerAnup Patel <anup@brainfault.org>2023-05-11 12:31:34 +0530
commit4e3353057a3b975ca58c9b831749e2760f7812c0 (patch)
treee629fe553222f3c22e1d32276a6febc0c5dc0729 /lib/utils
parent791953030836d39687688a8e7f1a3e708892cfa1 (diff)
downloadopensbi-4e3353057a3b975ca58c9b831749e2760f7812c0.tar.gz
opensbi-4e3353057a3b975ca58c9b831749e2760f7812c0.tar.bz2
opensbi-4e3353057a3b975ca58c9b831749e2760f7812c0.zip
lib: sbi: Remove unnecessary semicolon
We have redundant semicolon at quite a few places so let's remove it. Signed-off-by: Xiang W <wxjstz@126.com> Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/utils')
-rw-r--r--lib/utils/fdt/fdt_helper.c2
-rw-r--r--lib/utils/libfdt/fdt_overlay.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils/fdt/fdt_helper.c b/lib/utils/fdt/fdt_helper.c
index 48bc2fe4..a88a4ba8 100644
--- a/lib/utils/fdt/fdt_helper.c
+++ b/lib/utils/fdt/fdt_helper.c
@@ -689,7 +689,7 @@ int fdt_parse_imsic_node(void *fdt, int nodeoff, struct imsic_data *imsic)
break;
regs->addr = reg_addr;
regs->size = reg_size;
- };
+ }
if (!imsic->regs[0].size)
return SBI_EINVAL;
diff --git a/lib/utils/libfdt/fdt_overlay.c b/lib/utils/libfdt/fdt_overlay.c
index d217e79b..0871e260 100644
--- a/lib/utils/libfdt/fdt_overlay.c
+++ b/lib/utils/libfdt/fdt_overlay.c
@@ -404,7 +404,7 @@ static int overlay_fixup_one_phandle(void *fdt, void *fdto,
name, name_len, poffset,
&phandle_prop,
sizeof(phandle_prop));
-};
+}
/**
* overlay_fixup_phandle - Set an overlay phandle to the base one