Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm Remove unused variable



details:   https://anonhg.NetBSD.org/src/rev/5292f856abc9
branches:  trunk
changeset: 792065:5292f856abc9
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Dec 18 13:03:59 2013 +0000

description:
Remove unused variable

diffstat:

 sys/arch/arm/ep93xx/ep93xx_intr.c   |  6 ++----
 sys/arch/arm/ixp12x0/ixp12x0_intr.c |  6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)

diffs (60 lines):

diff -r b3c4793d9543 -r 5292f856abc9 sys/arch/arm/ep93xx/ep93xx_intr.c
--- a/sys/arch/arm/ep93xx/ep93xx_intr.c Wed Dec 18 12:54:35 2013 +0000
+++ b/sys/arch/arm/ep93xx/ep93xx_intr.c Wed Dec 18 13:03:59 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ep93xx_intr.c,v 1.19 2013/08/18 15:58:19 matt Exp $ */
+/* $NetBSD: ep93xx_intr.c,v 1.20 2013/12/18 13:03:59 skrll Exp $ */
 
 /*
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ep93xx_intr.c,v 1.19 2013/08/18 15:58:19 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ep93xx_intr.c,v 1.20 2013/12/18 13:03:59 skrll Exp $");
 
 /*
  * Interrupt support for the Cirrus Logic EP93XX
@@ -200,11 +200,9 @@
 inline void
 splx(int new)
 {
-       int     old;
        u_int   oldirqstate;
 
        oldirqstate = disable_interrupts(I32_bit);
-       old = curcpl();
        set_curcpl(new);
        if (new != hardware_spl_level) {
                hardware_spl_level = new;
diff -r b3c4793d9543 -r 5292f856abc9 sys/arch/arm/ixp12x0/ixp12x0_intr.c
--- a/sys/arch/arm/ixp12x0/ixp12x0_intr.c       Wed Dec 18 12:54:35 2013 +0000
+++ b/sys/arch/arm/ixp12x0/ixp12x0_intr.c       Wed Dec 18 13:03:59 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixp12x0_intr.c,v 1.25 2013/08/18 15:58:19 matt Exp $ */
+/* $NetBSD: ixp12x0_intr.c,v 1.26 2013/12/18 13:03:59 skrll Exp $ */
 
 /*
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixp12x0_intr.c,v 1.25 2013/08/18 15:58:19 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixp12x0_intr.c,v 1.26 2013/12/18 13:03:59 skrll Exp $");
 
 /*
  * Interrupt support for the Intel ixp12x0
@@ -258,11 +258,9 @@
 inline void
 splx(int new)
 {
-       int     old;
        u_int   oldirqstate;
 
        oldirqstate = disable_interrupts(I32_bit);
-       old = curcpl();
        set_curcpl(new);
        if (new != hardware_spl_level) {
                hardware_spl_level = new;



Home | Main Index | Thread Index | Old Index