summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2007-03-20 12:32:08 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2007-03-20 12:32:08 +0000
commita1ffed70dc4288849e39861d3823a8bcf0e0b2ad (patch)
tree3b3a4fb86efd70132549a4c3559e514c036e4662 /sys
parent57eac7ab6065d6c315fd31e809453e482cf1cf2d (diff)
zap unused variable.
ok pedro@
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/exec_elf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/exec_elf.c b/sys/kern/exec_elf.c
index 02b56180232..f09a19ff141 100644
--- a/sys/kern/exec_elf.c
+++ b/sys/kern/exec_elf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_elf.c,v 1.58 2007/03/14 16:41:15 kettenis Exp $ */
+/* $OpenBSD: exec_elf.c,v 1.59 2007/03/20 12:32:07 thib Exp $ */
/*
* Copyright (c) 1996 Per Fogelstrom
@@ -354,7 +354,6 @@ ELFNAME(load_file)(struct proc *p, char *path, struct exec_package *epp,
Elf_Ehdr eh;
Elf_Phdr *ph = NULL;
u_long phsize;
- char *bp = NULL;
Elf_Addr addr;
struct vnode *vp;
#ifndef SMALL_KERNEL
@@ -369,7 +368,6 @@ ELFNAME(load_file)(struct proc *p, char *path, struct exec_package *epp,
Elf_Addr pos = *last;
int file_align;
- bp = path;
NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, path, p);
if ((error = namei(&nd)) != 0) {
return (error);