From b0542a165c7a2dc2b36c0b9896e492e4b7e667d8 Mon Sep 17 00:00:00 2001 From: Matheus Date: Thu, 23 Apr 2026 12:18:22 -0300 Subject: [PATCH] archctl: remove unused variable --- kernel-src/arch/x86-64/archctl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel-src/arch/x86-64/archctl.c b/kernel-src/arch/x86-64/archctl.c index 43d1b565..9a3884af 100644 --- a/kernel-src/arch/x86-64/archctl.c +++ b/kernel-src/arch/x86-64/archctl.c @@ -35,7 +35,6 @@ syscallret_t syscall_archctl(context_t *context, int func, void *arg) { return ret; } - uint64_t scratch; switch (func) { case ARCH_CTL_SET_GSBASE: // kernelgsbase because it will be switched out to user