Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/mips Remove unused variable pcb.



details:   https://anonhg.NetBSD.org/src/rev/11edb9a76428
branches:  trunk
changeset: 765819:11edb9a76428
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jun 07 01:00:35 2011 +0000

description:
Remove unused variable pcb.

diffstat:

 sys/arch/mips/mips/mips_machdep.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 6a821fe2848b -r 11edb9a76428 sys/arch/mips/mips/mips_machdep.c
--- a/sys/arch/mips/mips/mips_machdep.c Tue Jun 07 00:52:53 2011 +0000
+++ b/sys/arch/mips/mips/mips_machdep.c Tue Jun 07 01:00:35 2011 +0000
@@ -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));



Home | Main Index | Thread Index | Old Index