Module Name: src Committed By: matt Date: Tue Jun 7 01:00:36 UTC 2011
Modified Files: src/sys/arch/mips/mips: mips_machdep.c Log Message: Remove unused variable pcb. To generate a diff of this commit: cvs rdiff -u -r1.241 -r1.242 src/sys/arch/mips/mips/mips_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/mips/mips/mips_machdep.c diff -u src/sys/arch/mips/mips/mips_machdep.c:1.241 src/sys/arch/mips/mips/mips_machdep.c:1.242 --- src/sys/arch/mips/mips/mips_machdep.c:1.241 Tue Jun 7 00:48:31 2011 +++ src/sys/arch/mips/mips/mips_machdep.c Tue Jun 7 01:00:35 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: mips_machdep.c,v 1.241 2011/06/07 00:48:31 matt Exp $ */ +/* $NetBSD: mips_machdep.c,v 1.242 2011/06/07 01:00:35 matt Exp $ */ /* * Copyright 2002 Wasabi Systems, Inc. @@ -112,7 +112,7 @@ #include <sys/cdefs.h> /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.241 2011/06/07 00:48:31 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.242 2011/06/07 01:00:35 matt Exp $"); #define __INTR_PRIVATE #include "opt_cputype.h" @@ -1451,7 +1451,6 @@ setregs(struct lwp *l, struct exec_package *pack, vaddr_t stack) { struct trapframe * const tf = l->l_md.md_utf; - struct pcb * const pcb = lwp_getpcb(l); struct proc * const p = l->l_proc; memset(tf, 0, sizeof(struct trapframe));