mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +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)
|
static int linux_fchmod(SysFrm *, int fd, mode_t mode)
|
||||||
{
|
{
|
||||||
PCB *pcb = thisProcess;
|
PCB *pcb = thisProcess;
|
||||||
Memory::VirtualMemoryArea *vma = pcb->vma;
|
|
||||||
vfs::FileDescriptorTable *fdt = pcb->FileDescriptors;
|
vfs::FileDescriptorTable *fdt = pcb->FileDescriptors;
|
||||||
|
|
||||||
if (fdt->FileMap.find(fd) == fdt->FileMap.end())
|
if (fdt->FileMap.find(fd) == fdt->FileMap.end())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user