Module Name: src Committed By: skrll Date: Sun Nov 1 21:06:22 UTC 2020
Modified Files: src/sys/arch/riscv/riscv: trap.c Log Message: Remove unused variable To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/riscv/riscv/trap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/riscv/riscv/trap.c diff -u src/sys/arch/riscv/riscv/trap.c:1.8 src/sys/arch/riscv/riscv/trap.c:1.9 --- src/sys/arch/riscv/riscv/trap.c:1.8 Sun Nov 1 20:56:24 2020 +++ src/sys/arch/riscv/riscv/trap.c Sun Nov 1 21:06:22 2020 @@ -32,7 +32,7 @@ #define __PMAP_PRIVATE #define __UFETCHSTORE_PRIVATE -__RCSID("$NetBSD: trap.c,v 1.8 2020/11/01 20:56:24 skrll Exp $"); +__RCSID("$NetBSD: trap.c,v 1.9 2020/11/01 21:06:22 skrll Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -422,7 +422,6 @@ cpu_trap(struct trapframe *tf, register_ void cpu_ast(struct trapframe *tf) { - struct cpu_info * const ci = curcpu(); atomic_swap_uint(&curlwp->l_md.md_astpending, 0);