Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/thorpej-cfargs]: src/sys/dev/audio audio only has one interface attribut...
details: https://anonhg.NetBSD.org/src/rev/55764f1fa0ac
branches: thorpej-cfargs
changeset: 954082:55764f1fa0ac
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun Mar 28 19:55:37 2021 +0000
description:
audio only has one interface attribute, so no need to be explcit about it.
audio also doesn't have locators, so don't pass any to config_search().
diffstat:
sys/dev/audio/audio.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (36 lines):
diff -r 859f09b6802c -r 55764f1fa0ac sys/dev/audio/audio.c
--- a/sys/dev/audio/audio.c Sun Mar 28 19:53:09 2021 +0000
+++ b/sys/dev/audio/audio.c Sun Mar 28 19:55:37 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: audio.c,v 1.91.2.3 2021/03/21 21:09:09 thorpej Exp $ */
+/* $NetBSD: audio.c,v 1.91.2.4 2021/03/28 19:55:37 thorpej Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -138,7 +138,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.91.2.3 2021/03/21 21:09:09 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.91.2.4 2021/03/28 19:55:37 thorpej Exp $");
#ifdef _KERNEL_OPT
#include "audio.h"
@@ -1111,7 +1111,7 @@
audio_mlog_init();
#endif
- audiorescan(self, "audio", NULL);
+ audiorescan(self, NULL, NULL);
sc->sc_exlock = 0;
return;
@@ -1416,8 +1416,6 @@
config_search(sc->sc_dev, NULL,
CFARG_SUBMATCH, audiosearch,
- CFARG_IATTR, ifattr,
- CFARG_LOCATORS, locators,
CFARG_EOL);
return 0;
Home |
Main Index |
Thread Index |
Old Index