Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/riscv/riscv Remove unused variable



details:   https://anonhg.NetBSD.org/src/rev/b314abba6e4f
branches:  trunk
changeset: 941942:b314abba6e4f
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Nov 01 21:06:22 2020 +0000

description:
Remove unused variable

diffstat:

 sys/arch/riscv/riscv/trap.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r e945a4617a98 -r b314abba6e4f sys/arch/riscv/riscv/trap.c
--- a/sys/arch/riscv/riscv/trap.c       Sun Nov 01 21:01:49 2020 +0000
+++ b/sys/arch/riscv/riscv/trap.c       Sun Nov 01 21:06:22 2020 +0000
@@ -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 @@
 void
 cpu_ast(struct trapframe *tf)
 {
-       struct cpu_info * const ci = curcpu();
 
        atomic_swap_uint(&curlwp->l_md.md_astpending, 0);
 



Home | Main Index | Thread Index | Old Index