summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2010-07-06 02:26:33 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2010-07-06 02:26:33 +0000
commit46f88de0a8ad37a5f1278235be72ae92c485155a (patch)
treee602271a53819393923d671a764b77158399b97c /sys/arch
parent62c59396ae4ebfd4eff1915ca3fd61801cd9422b (diff)
Kill an unused variable
ok deraadt@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/sparc64/db_interface.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/sparc64/sparc64/db_interface.c b/sys/arch/sparc64/sparc64/db_interface.c
index 8c1a64f3513..5a09cf4dad3 100644
--- a/sys/arch/sparc64/sparc64/db_interface.c
+++ b/sys/arch/sparc64/sparc64/db_interface.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_interface.c,v 1.28 2010/06/27 13:28:47 miod Exp $ */
+/* $OpenBSD: db_interface.c,v 1.29 2010/07/06 02:26:32 guenther Exp $ */
/* $NetBSD: db_interface.c,v 1.61 2001/07/31 06:55:47 eeh Exp $ */
/*
@@ -887,7 +887,7 @@ db_setpcb(addr, have_addr, count, modif)
db_expr_t count;
char *modif;
{
- struct proc *p, *pp;
+ struct proc *p;
if (!have_addr) {
db_printf("What PID do you want to map in?\n");
@@ -895,7 +895,6 @@ db_setpcb(addr, have_addr, count, modif)
}
LIST_FOREACH(p, &allproc, p_list) {
- pp = p->p_pptr;
if (p->p_stat && p->p_pid == addr) {
curproc = p;
curpcb = (struct pcb*)p->p_addr;