Module Name:    src
Committed By:   mrg
Date:           Wed Feb 27 02:27:38 UTC 2019

Modified Files:
        src/sys/dev: audio.c

Log Message:
remove dated comment that was handled with audiomp or later.
sc_dying being set earlier assumes audio_enter() will reject
attempts to use this device.


To generate a diff of this commit:
cvs rdiff -u -r1.458 -r1.459 src/sys/dev/audio.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/audio.c
diff -u src/sys/dev/audio.c:1.458 src/sys/dev/audio.c:1.459
--- src/sys/dev/audio.c:1.458	Mon Sep  3 16:29:30 2018
+++ src/sys/dev/audio.c	Wed Feb 27 02:27:38 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: audio.c,v 1.458 2018/09/03 16:29:30 riastradh Exp $	*/
+/*	$NetBSD: audio.c,v 1.459 2019/02/27 02:27:38 mrg Exp $	*/
 
 /*-
  * Copyright (c) 2016 Nathanial Sloss <nathanialsl...@yahoo.com.au>
@@ -148,7 +148,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.458 2018/09/03 16:29:30 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.459 2019/02/27 02:27:38 mrg Exp $");
 
 #ifdef _KERNEL_OPT
 #include "audio.h"
@@ -923,10 +923,6 @@ audiodetach(device_t self, int flags)
 	/*
 	 * Nuke the vnodes for any open instances (calls close).
 	 * Will wait until any activity on the device nodes has ceased.
-	 *
-	 * XXXAD NOT YET.
-	 *
-	 * XXXAD NEED TO PREVENT NEW REFERENCES THROUGH AUDIO_ENTER().
 	 */
 	mn = device_unit(self);
 	vdevgone(maj, mn | SOUND_DEVICE,    mn | SOUND_DEVICE, VCHR);

Reply via email to