lib: sbi_hsm: Remove unnecessary include
authorAndrew Jones <ajones@ventanamicro.com>
Mon, 27 Feb 2023 10:31:00 +0000 (11:31 +0100)
committerAnup Patel <anup@brainfault.org>
Mon, 27 Feb 2023 14:08:55 +0000 (19:38 +0530)
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>
lib/sbi/sbi_ecall_hsm.c

index 703a824493b4abc0dd34bcd6a00eaf9becf47dc0..f1b41d073b22b96fdf7f4d5801aad5273ed9d5da 100644 (file)
@@ -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;