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 spurious splx() call.



details:   https://anonhg.NetBSD.org/src/rev/2c6a2ed8e291
branches:  trunk
changeset: 484920:2c6a2ed8e291
user:      pk <pk%NetBSD.org@localhost>
date:      Fri Apr 14 20:33:48 2000 +0000

description:
Remove spurious splx() call.

diffstat:

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

diffs (17 lines):

diff -r ada9b5622b78 -r 2c6a2ed8e291 sys/dev/ic/z8530tty.c
--- a/sys/dev/ic/z8530tty.c     Fri Apr 14 20:24:29 2000 +0000
+++ b/sys/dev/ic/z8530tty.c     Fri Apr 14 20:33:48 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: z8530tty.c,v 1.66 2000/03/24 11:46:47 hannken Exp $    */
+/*     $NetBSD: z8530tty.c,v 1.67 2000/04/14 20:33:48 pk Exp $ */
 
 /*-
  * Copyright (c) 1993, 1994, 1995, 1996, 1997, 1998, 1999
@@ -521,7 +521,6 @@
                /* Call the power management hook. */
                if (cs->enable) {
                        if ((*cs->enable)(cs)) {
-                               splx(s2);
                                splx(s);
                                printf("%s: device enable failed\n",
                                zst->zst_dev.dv_xname);



Home | Main Index | Thread Index | Old Index