From 0393c8b5c2e229e022dcb63a8cd171ac10a23081 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 22 Jul 2024 14:26:53 -0400 Subject: kernel: vfs_syscalls: Remove unused vars Signed-off-by: Ian Moffett --- sys/kern/vfs_syscalls.c | 3 --- 1 file changed, 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; -- cgit v1.2.3