mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-25 22:14:34 +00:00
fix(kernel/syscalls): remove unused variable 'vma' in linux_fchmod
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
a1622cc885
commit
fe6d7f4b08
@ -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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user