Module Name: src Committed By: skrll Date: Thu May 29 10:11:41 UTC 2014
Modified Files: src/sys/arch/mipsco/mipsco: autoconf.c Log Message: Remove unused variable. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/arch/mipsco/mipsco/autoconf.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/autoconf.c diff -u src/sys/arch/mipsco/mipsco/autoconf.c:1.26 src/sys/arch/mipsco/mipsco/autoconf.c:1.27 --- src/sys/arch/mipsco/mipsco/autoconf.c:1.26 Sat Oct 27 17:18:03 2012 +++ src/sys/arch/mipsco/mipsco/autoconf.c Thu May 29 10:11:41 2014 @@ -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 @@ struct mipsco_intrhand intrtab[MAX_INTR_ void cpu_configure(void) { - int s; /* * Kick off autoconfiguration */ - s = splhigh(); + (void) splhigh(); if (config_rootfound("mainbus", NULL) == NULL) panic("no mainbus found"); initcpu();