Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mmeye/mmeye fix unused variable warning



details:   https://anonhg.NetBSD.org/src/rev/074f4cde5c9f
branches:  trunk
changeset: 791197:074f4cde5c9f
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Nov 08 02:24:53 2013 +0000

description:
fix unused variable warning

diffstat:

 sys/arch/mmeye/mmeye/machdep.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r a38279b8a6e0 -r 074f4cde5c9f sys/arch/mmeye/mmeye/machdep.c
--- a/sys/arch/mmeye/mmeye/machdep.c    Fri Nov 08 02:24:11 2013 +0000
+++ b/sys/arch/mmeye/mmeye/machdep.c    Fri Nov 08 02:24:53 2013 +0000
@@ -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 @@
 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 @@
         * 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;



Home | Main Index | Thread Index | Old Index