Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Remove debug messages which are no longer necess...



details:   https://anonhg.NetBSD.org/src/rev/9537464c5ed1
branches:  trunk
changeset: 980467:9537464c5ed1
user:      isaki <isaki%NetBSD.org@localhost>
date:      Sat Feb 06 05:15:03 2021 +0000

description:
Remove debug messages which are no longer necessary.

diffstat:

 sys/dev/pci/emuxki.c |  26 ++------------------------
 1 files changed, 2 insertions(+), 24 deletions(-)

diffs (61 lines):

diff -r 3d4476f9a7ac -r 9537464c5ed1 sys/dev/pci/emuxki.c
--- a/sys/dev/pci/emuxki.c      Sat Feb 06 04:55:08 2021 +0000
+++ b/sys/dev/pci/emuxki.c      Sat Feb 06 05:15:03 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: emuxki.c,v 1.70 2019/06/08 08:02:38 isaki Exp $        */
+/*     $NetBSD: emuxki.c,v 1.71 2021/02/06 05:15:03 isaki Exp $        */
 
 /*-
  * Copyright (c) 2001, 2007 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: emuxki.c,v 1.70 2019/06/08 08:02:38 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: emuxki.c,v 1.71 2021/02/06 05:15:03 isaki Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -217,8 +217,6 @@
                    uint32_t);
 static void    emuxki_play_stop(struct emuxki_softc *, int);
 
-static int     emuxki_open(void *, int);
-static void    emuxki_close(void *);
 static int     emuxki_query_format(void *, audio_format_query_t *);
 static int     emuxki_set_format(void *, int,
                    const audio_params_t *, const audio_params_t *,
@@ -254,8 +252,6 @@
     emuxki_match, emuxki_attach, emuxki_detach, NULL);
 
 static const struct audio_hw_if emuxki_hw_if = {
-       .open                   = emuxki_open,
-       .close                  = emuxki_close,
        .query_format           = emuxki_query_format,
        .set_format             = emuxki_set_format,
        .round_blocksize        = emuxki_round_blocksize,
@@ -952,24 +948,6 @@
  */
 
 static int
-emuxki_open(void *hdl, int flags)
-{
-
-       DPRINTF("%s for %s%s\n", __func__,
-           (flags & FWRITE) ? "P" : "",
-           (flags & FREAD)  ? "R" : "");
-
-       return 0;
-}
-
-static void
-emuxki_close(void *hdl)
-{
-
-       DPRINTF("%s\n", __func__);
-}
-
-static int
 emuxki_query_format(void *hdl, audio_format_query_t *afp)
 {
 



Home | Main Index | Thread Index | Old Index