From 26c21f9b5d06296d13f40b53de14e22007e189c2 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 21 Jan 2024 15:27:11 +0000 Subject: [PATCH] kernel: remove unused variables from arm trap() handler --- sys/src/9/bcm/trap.c | 2 +- sys/src/9/kw/trap.c | 2 +- sys/src/9/omap/trap.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/src/9/bcm/trap.c b/sys/src/9/bcm/trap.c index a7c9a0396..46226325c 100644 --- a/sys/src/9/bcm/trap.c +++ b/sys/src/9/bcm/trap.c @@ -131,7 +131,7 @@ writetomem(ulong inst) void trap(Ureg *ureg) { - int user, x, rv, rem; + int user, x, rv; ulong inst, fsr; uintptr va; char buf[ERRMAX]; diff --git a/sys/src/9/kw/trap.c b/sys/src/9/kw/trap.c index c48c57cea..0824c8542 100644 --- a/sys/src/9/kw/trap.c +++ b/sys/src/9/kw/trap.c @@ -365,7 +365,7 @@ writetomem(ulong inst) void trap(Ureg *ureg) { - int user, x, rv, rem; + int user, x, rv; ulong inst; u32int fsr; uintptr va; diff --git a/sys/src/9/omap/trap.c b/sys/src/9/omap/trap.c index dc73977c7..8e7827b3b 100644 --- a/sys/src/9/omap/trap.c +++ b/sys/src/9/omap/trap.c @@ -446,7 +446,7 @@ void prgpmcerrs(void); void trap(Ureg *ureg) { - int user, x, rv, rem; + int user, x, rv; ulong inst, fsr; uintptr va; char buf[ERRMAX];