aboutsummaryrefslogtreecommitdiff
path: root/include
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 /include
parent791953030836d39687688a8e7f1a3e708892cfa1 (diff)
downloadopensbi-4e3353057a3b975ca58c9b831749e2760f7812c0.zip
opensbi-4e3353057a3b975ca58c9b831749e2760f7812c0.tar.gz
opensbi-4e3353057a3b975ca58c9b831749e2760f7812c0.tar.bz2
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 'include')
-rw-r--r--include/sbi/sbi_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sbi/sbi_list.h b/include/sbi/sbi_list.h
index fe735df..9e56c52 100644
--- a/include/sbi/sbi_list.h
+++ b/include/sbi/sbi_list.h
@@ -31,7 +31,7 @@ struct sbi_dlist _lname = SBI_LIST_HEAD_INIT(_lname)
#define SBI_INIT_LIST_HEAD(ptr) \
do { \
(ptr)->next = ptr; (ptr)->prev = ptr; \
-} while (0);
+} while (0)
static inline void __sbi_list_add(struct sbi_dlist *new,
struct sbi_dlist *prev,