Module Name: src Committed By: he Date: Sun Jun 8 07:01:30 UTC 2014
Modified Files: src/sys/arch/mipsco/mipsco: machdep.c Log Message: Kill a pair of set-but-not-used local variables. To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/sys/arch/mipsco/mipsco/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/mipsco/mipsco/machdep.c diff -u src/sys/arch/mipsco/mipsco/machdep.c:1.77 src/sys/arch/mipsco/mipsco/machdep.c:1.78 --- src/sys/arch/mipsco/mipsco/machdep.c:1.77 Mon Mar 24 20:06:32 2014 +++ src/sys/arch/mipsco/mipsco/machdep.c Sun Jun 8 07:01:30 2014 @@ -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 @@ mach_init(int argc, char *argv[], char * 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 @@ mach_init(int argc, char *argv[], char * /* 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 @@ null_cnpollc(dev_t dev, int on) void consinit(void) { - int zs_unit; - zs_unit = 0; cn_tab = &consdev_zs; (*cn_tab->cn_init)(cn_tab);