Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/audio Restore sysctl_teardown which was unintentiona...
details: https://anonhg.NetBSD.org/src/rev/2ad47ccefe04
branches: trunk
changeset: 457405:2ad47ccefe04
user: isaki <isaki%NetBSD.org@localhost>
date: Sun Jun 23 01:46:56 2019 +0000
description:
Restore sysctl_teardown which was unintentionally dropped.
diffstat:
sys/dev/audio/audio.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r e83673ae9942 -r 2ad47ccefe04 sys/dev/audio/audio.c
--- a/sys/dev/audio/audio.c Sat Jun 22 23:42:44 2019 +0000
+++ b/sys/dev/audio/audio.c Sun Jun 23 01:46:56 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: audio.c,v 1.18 2019/06/19 12:49:49 isaki Exp $ */
+/* $NetBSD: audio.c,v 1.19 2019/06/23 01:46:56 isaki Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -142,7 +142,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.18 2019/06/19 12:49:49 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.19 2019/06/23 01:46:56 isaki Exp $");
#ifdef _KERNEL_OPT
#include "audio.h"
@@ -1272,6 +1272,9 @@
cv_broadcast(&sc->sc_rmixer->outcv);
mutex_exit(sc->sc_lock);
+ /* delete sysctl nodes */
+ sysctl_teardown(&sc->sc_log);
+
/* locate the major number */
maj = cdevsw_lookup_major(&audio_cdevsw);
Home |
Main Index |
Thread Index |
Old Index