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/87723fab8d57
branches: trunk
changeset: 945596:87723fab8d57
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 df69e8fbbef1 -r 87723fab8d57 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