Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Remove the call to KERNEL_UNLOCK_ONE(), it was f...



details:   https://anonhg.NetBSD.org/src/rev/2d0799e5ecae
branches:  trunk
changeset: 466779:2d0799e5ecae
user:      maxv <maxv%NetBSD.org@localhost>
date:      Thu Jan 02 08:08:30 2020 +0000

description:
Remove the call to KERNEL_UNLOCK_ONE(), it was forgotten when the biglock
was dropped in rev1.63. Found via vHCI.

diffstat:

 sys/dev/usb/umidi.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r c2a1e561b473 -r 2d0799e5ecae sys/dev/usb/umidi.c
--- a/sys/dev/usb/umidi.c       Thu Jan 02 06:22:23 2020 +0000
+++ b/sys/dev/usb/umidi.c       Thu Jan 02 08:08:30 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umidi.c,v 1.81 2019/12/01 08:27:54 maxv Exp $  */
+/*     $NetBSD: umidi.c,v 1.82 2020/01/02 08:08:30 maxv Exp $  */
 
 /*
  * Copyright (c) 2001, 2012, 2014 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umidi.c,v 1.81 2019/12/01 08:27:54 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umidi.c,v 1.82 2020/01/02 08:08:30 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -414,7 +414,6 @@
 out:
        aprint_error_dev(self, "disabled.\n");
        sc->sc_dying = 1;
-       KERNEL_UNLOCK_ONE(curlwp);
        return;
 }
 



Home | Main Index | Thread Index | Old Index