ref: 26c21f9b5d06296d13f40b53de14e22007e189c2
parent: 1ac17a5b5996d141f45a63d6031d0140836ab099
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Jan 21 10:27:11 EST 2024
kernel: remove unused variables from arm trap() handler
--- a/sys/src/9/bcm/trap.c
+++ b/sys/src/9/bcm/trap.c
@@ -131,7 +131,7 @@
void
trap(Ureg *ureg)
{
- int user, x, rv, rem;
+ int user, x, rv;
ulong inst, fsr;
uintptr va;
char buf[ERRMAX];
--- a/sys/src/9/kw/trap.c
+++ b/sys/src/9/kw/trap.c
@@ -365,7 +365,7 @@
void
trap(Ureg *ureg)
{
- int user, x, rv, rem;
+ int user, x, rv;
ulong inst;
u32int fsr;
uintptr va;
--- a/sys/src/9/omap/trap.c
+++ b/sys/src/9/omap/trap.c
@@ -446,7 +446,7 @@
void
trap(Ureg *ureg)
{
- int user, x, rv, rem;
+ int user, x, rv;
ulong inst, fsr;
uintptr va;
char buf[ERRMAX];