aboutsummaryrefslogtreecommitdiff
path: root/include/sbi/sbi_trap.h
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-03-19 19:33:25 +0530
committerAnup Patel <anup@brainfault.org>2020-03-28 13:32:04 +0530
commitcb78a482314e8e3c7f423bb13fc50bbd50c59b13 (patch)
tree5e2ddeca265dc50201f20427aa8d84c71ef8eab5 /include/sbi/sbi_trap.h
parent626467cfd96f99230ff5d83f98562f23aee291c3 (diff)
lib: sbi_trap: Remove scratch parameter from sbi_trap_redirect()
The scratch parameter of sbi_trap_redirect() is not used hence we remove it. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'include/sbi/sbi_trap.h')
-rw-r--r--include/sbi/sbi_trap.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sbi/sbi_trap.h b/include/sbi/sbi_trap.h
index b6918e0..54ccea7 100644
--- a/include/sbi/sbi_trap.h
+++ b/include/sbi/sbi_trap.h
@@ -205,8 +205,7 @@ struct sbi_trap_info {
struct sbi_scratch;
int sbi_trap_redirect(struct sbi_trap_regs *regs,
- struct sbi_trap_info *trap,
- struct sbi_scratch *scratch);
+ struct sbi_trap_info *trap);
void sbi_trap_handler(struct sbi_trap_regs *regs,
struct sbi_scratch *scratch);