Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Remove double spl(x), found by brainy.



details:   https://anonhg.NetBSD.org/src/rev/5ceb4db09f5d
branches:  trunk
changeset: 340292:5ceb4db09f5d
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Aug 30 09:46:57 2015 +0000

description:
Remove double spl(x), found by brainy.

diffstat:

 sys/dev/ic/daic.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r b7f6e1729441 -r 5ceb4db09f5d sys/dev/ic/daic.c
--- a/sys/dev/ic/daic.c Sun Aug 30 08:46:44 2015 +0000
+++ b/sys/dev/ic/daic.c Sun Aug 30 09:46:57 2015 +0000
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: daic.c,v 1.31 2012/10/27 17:18:20 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: daic.c,v 1.32 2015/08/30 09:46:57 martin Exp $");
 
 /*
  * daic.c: MI driver for Diehl active ISDN cards (S, SX, SXn, SCOM, QUADRO)
@@ -404,7 +404,6 @@
                        tsleep(sc, 0, "daic download", 1);
                    }
                    if (bus_space_read_1(sc->sc_iot, sc->sc_ioh, DAIC_BOOT_CTRL+off) != 0) {
-                       splx(x);
                        aprint_error_dev(sc->sc_dev, "download of microcode failed\n");
                        return EIO;
                    }



Home | Main Index | Thread Index | Old Index