Module Name: src
Committed By: macallan
Date: Thu Apr 21 01:15:25 UTC 2022
Modified Files:
src/sys/dev/audio: audio.c
Log Message:
#if 0 now unused audio_track_is_record() to appease clang
To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 src/sys/dev/audio/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/audio.c
diff -u src/sys/dev/audio/audio.c:1.127 src/sys/dev/audio/audio.c:1.128
--- src/sys/dev/audio/audio.c:1.127 Wed Apr 20 07:11:13 2022
+++ src/sys/dev/audio/audio.c Thu Apr 21 01:15:24 2022
@@ -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 @@ audio_track_is_playback(const audio_trac
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 @@ audio_track_is_record(const audio_track_
return ((track->mode & AUMODE_RECORD) != 0);
}
+#endif
#if 0 /* XXX Not used yet */
/*