mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
archctl: remove unused variable
This commit is contained in:
@@ -35,7 +35,6 @@ syscallret_t syscall_archctl(context_t *context, int func, void *arg) {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t scratch;
|
|
||||||
switch (func) {
|
switch (func) {
|
||||||
case ARCH_CTL_SET_GSBASE:
|
case ARCH_CTL_SET_GSBASE:
|
||||||
// kernelgsbase because it will be switched out to user
|
// kernelgsbase because it will be switched out to user
|
||||||
|
|||||||
Reference in New Issue
Block a user