fix(kernel/syscalls): remove unused variable 'vma' in linux_fchmod

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
EnderIce2 2025-04-03 11:01:57 +00:00
parent a1622cc885
commit fe6d7f4b08
Signed by: enderice2
GPG Key ID: FEB6B8A8507BA62E

View File

@ -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())