summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Jones <ajones@ventanamicro.com>2023-02-27 13:31:00 +0300
committerAnup Patel <anup@brainfault.org>2023-02-27 17:08:55 +0300
commit07673fc0633db82db939c0cf896c19ef0a7c548e (patch)
treec0662fdfbfdd12bc494933971db9cee490be2d37
parentb1ae6ef33ba92fe7d85edd87656998330637ed7e (diff)
downloadopensbi-07673fc0633db82db939c0cf896c19ef0a7c548e.tar.xz
lib: sbi_hsm: Remove unnecessary include
Also remove a superfluous semicolon and add a blank line. Signed-off-by: Andrew Jones <ajones@ventanamicro.com> Reviewed-by: Anup Patel <anup@brainfault.org>
-rw-r--r--lib/sbi/sbi_ecall_hsm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sbi/sbi_ecall_hsm.c b/lib/sbi/sbi_ecall_hsm.c
index 703a824..f1b41d0 100644
--- a/lib/sbi/sbi_ecall_hsm.c
+++ b/lib/sbi/sbi_ecall_hsm.c
@@ -12,7 +12,6 @@
#include <sbi/sbi_ecall_interface.h>
#include <sbi/sbi_error.h>
#include <sbi/sbi_trap.h>
-#include <sbi/sbi_version.h>
#include <sbi/sbi_hsm.h>
#include <sbi/sbi_scratch.h>
#include <sbi/riscv_asm.h>
@@ -45,7 +44,8 @@ static int sbi_ecall_hsm_handler(unsigned long extid, unsigned long funcid,
break;
default:
ret = SBI_ENOTSUPP;
- };
+ }
+
if (ret >= 0) {
*out_val = ret;
ret = 0;