Module Name: src
Committed By: maxv
Date: Thu Jan 2 08:08:30 UTC 2020
Modified Files:
src/sys/dev/usb: umidi.c
Log Message:
Remove the call to KERNEL_UNLOCK_ONE(), it was forgotten when the biglock
was dropped in rev1.63. Found via vHCI.
To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/dev/usb/umidi.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/dev/usb/umidi.c
diff -u src/sys/dev/usb/umidi.c:1.81 src/sys/dev/usb/umidi.c:1.82
--- src/sys/dev/usb/umidi.c:1.81 Sun Dec 1 08:27:54 2019
+++ src/sys/dev/usb/umidi.c Thu Jan 2 08:08:30 2020
@@ -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_free_endpoints:
out:
aprint_error_dev(self, "disabled.\n");
sc->sc_dying = 1;
- KERNEL_UNLOCK_ONE(curlwp);
return;
}