Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mipsco/mipsco Kill a pair of set-but-not-used local...



details:   https://anonhg.NetBSD.org/src/rev/79767cfb14b8
branches:  trunk
changeset: 796533:79767cfb14b8
user:      he <he%NetBSD.org@localhost>
date:      Sun Jun 08 07:01:30 2014 +0000

description:
Kill a pair of set-but-not-used local variables.

diffstat:

 sys/arch/mipsco/mipsco/machdep.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (44 lines):

diff -r 8edfea4f8296 -r 79767cfb14b8 sys/arch/mipsco/mipsco/machdep.c
--- a/sys/arch/mipsco/mipsco/machdep.c  Sun Jun 08 02:52:50 2014 +0000
+++ b/sys/arch/mipsco/mipsco/machdep.c  Sun Jun 08 07:01:30 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.77 2014/03/24 20:06:32 christos Exp $    */
+/*     $NetBSD: machdep.c,v 1.78 2014/06/08 07:01:30 he Exp $  */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.77 2014/03/24 20:06:32 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.78 2014/06/08 07:01:30 he Exp $");
 
 /* from: Utah Hdr: machdep.c 1.63 91/04/24 */
 
@@ -183,7 +183,6 @@
        extern char edata[], end[];
        const char *bi_msg;
 #if NKSYMS || defined(DDB) || defined(MODULAR)
-       int nsym = 0;
        char *ssym = 0;
        char *esym = 0;
        struct btinfo_symtab *bi_syms;
@@ -218,7 +217,6 @@
 
        /* Load sysmbol table if present */
        if (bi_syms != NULL) {
-               nsym = bi_syms->nsym;
                ssym = (void *)bi_syms->ssym;
                esym = (void *)bi_syms->esym;
                kernend = (void *)mips_round_page(esym);
@@ -591,9 +589,7 @@
 void
 consinit(void)
 {
-       int zs_unit;
 
-       zs_unit = 0;
        cn_tab = &consdev_zs;
 
        (*cn_tab->cn_init)(cn_tab);



Home | Main Index | Thread Index | Old Index