Source-Changes-HG archive

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

[src/trunk]: src/sys/dev remove dated comment that was handled with audiomp o...



details:   https://anonhg.NetBSD.org/src/rev/1fc10278ebff
branches:  trunk
changeset: 449214:1fc10278ebff
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Feb 27 02:27:38 2019 +0000

description:
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.

diffstat:

 sys/dev/audio.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (29 lines):

diff -r 19914acc9f29 -r 1fc10278ebff sys/dev/audio.c
--- a/sys/dev/audio.c   Wed Feb 27 02:20:18 2019 +0000
+++ b/sys/dev/audio.c   Wed Feb 27 02:27:38 2019 +0000
@@ -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 <nathanialsloss%yahoo.com.au@localhost>
@@ -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 @@
        /*
         * 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);



Home | Main Index | Thread Index | Old Index