Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/audio #if 0 now unused audio_track_is_record() to ap...



details:   https://anonhg.NetBSD.org/src/rev/13a2ddefcd12
branches:  trunk
changeset: 365724:13a2ddefcd12
user:      macallan <macallan%NetBSD.org@localhost>
date:      Thu Apr 21 01:15:24 2022 +0000

description:
#if 0 now unused audio_track_is_record() to appease clang

diffstat:

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

diffs (34 lines):

diff -r e9f836a5e6f3 -r 13a2ddefcd12 sys/dev/audio/audio.c
--- a/sys/dev/audio/audio.c     Wed Apr 20 23:32:17 2022 +0000
+++ b/sys/dev/audio/audio.c     Thu Apr 21 01:15:24 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: audio.c,v 1.127 2022/04/20 07:11:13 isaki Exp $        */
+/*     $NetBSD: audio.c,v 1.128 2022/04/21 01:15:24 macallan Exp $     */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -181,7 +181,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.127 2022/04/20 07:11:13 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.128 2022/04/21 01:15:24 macallan Exp $");
 
 #ifdef _KERNEL_OPT
 #include "audio.h"
@@ -733,6 +733,7 @@
        return ((track->mode & AUMODE_PLAY) != 0);
 }
 
+#if 0
 /* Return true if this track is a recording track. */
 static __inline bool
 audio_track_is_record(const audio_track_t *track)
@@ -740,6 +741,7 @@
 
        return ((track->mode & AUMODE_RECORD) != 0);
 }
+#endif
 
 #if 0 /* XXX Not used yet */
 /*



Home | Main Index | Thread Index | Old Index