summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-07-22 14:26:53 -0400
committerIan Moffett <ian@osmora.org>2024-07-22 14:26:53 -0400
commit0393c8b5c2e229e022dcb63a8cd171ac10a23081 (patch)
tree86a7d098f9c8ae12ca16139d02685fe577022b6f
parent7fa2bd1c5a233de6609ab3d05d5e0240caba47ed (diff)
kernel: vfs_syscalls: Remove unused vars
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--sys/kern/vfs_syscalls.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
index 477bc81..c2ae580 100644
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -95,13 +95,10 @@ sys_open(struct syscall_args *scargs)
int error;
const char *pathname;
char pathbuf[PATH_MAX];
- struct proc *td;
struct filedesc *filedes;
struct nameidata nd;
pathname = (char *)scargs->arg0;
- td = this_td();
-
nd.path = pathbuf;
nd.flags = 0;