summaryrefslogtreecommitdiff
path: root/test/tx/cmake/riscv/bsp/trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tx/cmake/riscv/bsp/trap.c')
-rw-r--r--test/tx/cmake/riscv/bsp/trap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/tx/cmake/riscv/bsp/trap.c b/test/tx/cmake/riscv/bsp/trap.c
index 0ac7990a..f54ea2ff 100644
--- a/test/tx/cmake/riscv/bsp/trap.c
+++ b/test/tx/cmake/riscv/bsp/trap.c
@@ -36,9 +36,6 @@ extern void _exit(int code) __attribute__((noreturn));
void trap_handler(uintptr_t mcause, uintptr_t mepc, uintptr_t mtval)
{
- (void)mepc;
- (void)mtval;
-
if (OS_IS_INTERUPT(mcause))
{
if (OS_IS_TICK_INT(mcause))