summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-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;