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 Remove unused variable.



details:   https://anonhg.NetBSD.org/src/rev/78aba3b1150c
branches:  trunk
changeset: 796325:78aba3b1150c
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu May 29 10:11:41 2014 +0000

description:
Remove unused variable.

diffstat:

 sys/arch/mipsco/mipsco/autoconf.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 7f8cd145bf9d -r 78aba3b1150c sys/arch/mipsco/mipsco/autoconf.c
--- a/sys/arch/mipsco/mipsco/autoconf.c Thu May 29 08:13:17 2014 +0000
+++ b/sys/arch/mipsco/mipsco/autoconf.c Thu May 29 10:11:41 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.26 2012/10/27 17:18:03 chs Exp $        */
+/*     $NetBSD: autoconf.c,v 1.27 2014/05/29 10:11:41 skrll Exp $      */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -48,7 +48,7 @@
 
 #define __INTR_PRIVATE
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.26 2012/10/27 17:18:03 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.27 2014/05/29 10:11:41 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -88,12 +88,11 @@
 void
 cpu_configure(void)
 {
-       int s;
 
        /*
         * Kick off autoconfiguration
         */
-       s = splhigh();
+       (void) splhigh();
        if (config_rootfound("mainbus", NULL) == NULL)
                panic("no mainbus found");
        initcpu();



Home | Main Index | Thread Index | Old Index