Module Name: src Committed By: skrll Date: Wed Dec 18 13:03:59 UTC 2013
Modified Files: src/sys/arch/arm/ep93xx: ep93xx_intr.c src/sys/arch/arm/ixp12x0: ixp12x0_intr.c Log Message: Remove unused variable To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/arch/arm/ep93xx/ep93xx_intr.c cvs rdiff -u -r1.25 -r1.26 src/sys/arch/arm/ixp12x0/ixp12x0_intr.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/arm/ep93xx/ep93xx_intr.c diff -u src/sys/arch/arm/ep93xx/ep93xx_intr.c:1.19 src/sys/arch/arm/ep93xx/ep93xx_intr.c:1.20 --- src/sys/arch/arm/ep93xx/ep93xx_intr.c:1.19 Sun Aug 18 15:58:19 2013 +++ src/sys/arch/arm/ep93xx/ep93xx_intr.c Wed Dec 18 13:03:59 2013 @@ -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 @@ ep93xx_intr_calculate_masks(void) 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; Index: src/sys/arch/arm/ixp12x0/ixp12x0_intr.c diff -u src/sys/arch/arm/ixp12x0/ixp12x0_intr.c:1.25 src/sys/arch/arm/ixp12x0/ixp12x0_intr.c:1.26 --- src/sys/arch/arm/ixp12x0/ixp12x0_intr.c:1.25 Sun Aug 18 15:58:19 2013 +++ src/sys/arch/arm/ixp12x0/ixp12x0_intr.c Wed Dec 18 13:03:59 2013 @@ -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 @@ ixp12x0_intr_calculate_masks(void) 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;