From fe6d7f4b086c27af76a69995bf5db6442cfbc1e3 Mon Sep 17 00:00:00 2001 From: EnderIce2 Date: Thu, 3 Apr 2025 11:01:57 +0000 Subject: [PATCH] fix(kernel/syscalls): remove unused variable 'vma' in linux_fchmod Signed-off-by: EnderIce2 --- Kernel/subsystem/linux/syscall.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Kernel/subsystem/linux/syscall.cpp b/Kernel/subsystem/linux/syscall.cpp index 5fb9fc65..280ac6d2 100644 --- a/Kernel/subsystem/linux/syscall.cpp +++ b/Kernel/subsystem/linux/syscall.cpp @@ -2418,7 +2418,6 @@ static ssize_t linux_readlink(SysFrm *, const char *pathname, static int linux_fchmod(SysFrm *, int fd, mode_t mode) { PCB *pcb = thisProcess; - Memory::VirtualMemoryArea *vma = pcb->vma; vfs::FileDescriptorTable *fdt = pcb->FileDescriptors; if (fdt->FileMap.find(fd) == fdt->FileMap.end())