kernel: remove unused variables from arm trap() handler

This commit is contained in:
cinap_lenrek 2024-01-21 15:27:11 +00:00
parent 1ac17a5b59
commit 26c21f9b5d
3 changed files with 3 additions and 3 deletions

View file

@ -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];

View file

@ -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;

View file

@ -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];