Module Name:    src
Committed By:   christos
Date:           Fri Nov  8 02:24:53 UTC 2013

Modified Files:
        src/sys/arch/mmeye/mmeye: machdep.c

Log Message:
fix unused variable warning


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/arch/mmeye/mmeye/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/mmeye/mmeye/machdep.c
diff -u src/sys/arch/mmeye/mmeye/machdep.c:1.56 src/sys/arch/mmeye/mmeye/machdep.c:1.57
--- src/sys/arch/mmeye/mmeye/machdep.c:1.56	Sat Oct 27 13:18:04 2012
+++ src/sys/arch/mmeye/mmeye/machdep.c	Thu Nov  7 21:24:53 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: machdep.c,v 1.56 2012/10/27 17:18:04 chs Exp $	*/
+/*	$NetBSD: machdep.c,v 1.57 2013/11/08 02:24:53 christos Exp $	*/
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.56 2012/10/27 17:18:04 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.57 2013/11/08 02:24:53 christos Exp $");
 
 #include "opt_ddb.h"
 #include "opt_memsize.h"
@@ -648,7 +648,7 @@ void
 intc_intr(int ssr, int spc, int ssp)
 {
 	struct intc_intrhand *ih;
-	int s, evtcode;
+	int evtcode;
 
 	curcpu()->ci_data.cpu_nintr++;
 
@@ -662,7 +662,7 @@ intc_intr(int ssr, int spc, int ssp)
 	 * SH3 may or may not cause TLB miss when access stack.)
 	 * Enable higher level interrupt here.
 	 */
-	s = _cpu_intr_resume(ih->ih_level);
+	(void)_cpu_intr_resume(ih->ih_level);
 
 	if (evtcode == SH_INTEVT_TMU0_TUNI0) {	/* hardclock */
 		struct clockframe cf;

Reply via email to