Module Name: src
Committed By: maya
Date: Sun May 12 13:40:20 UTC 2019
Modified Files:
src/sys/dev/pci: cmpci.c
Log Message:
Remove unused function following isaki-audio2 merge.
Shows up when doing clang builds. From a.rin.
To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 src/sys/dev/pci/cmpci.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/pci/cmpci.c
diff -u src/sys/dev/pci/cmpci.c:1.54 src/sys/dev/pci/cmpci.c:1.55
--- src/sys/dev/pci/cmpci.c:1.54 Wed May 8 13:40:18 2019
+++ src/sys/dev/pci/cmpci.c Sun May 12 13:40:19 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: cmpci.c,v 1.54 2019/05/08 13:40:18 isaki Exp $ */
+/* $NetBSD: cmpci.c,v 1.55 2019/05/12 13:40:19 maya Exp $ */
/*
* Copyright (c) 2000, 2001, 2008 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cmpci.c,v 1.54 2019/05/08 13:40:18 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cmpci.c,v 1.55 2019/05/12 13:40:19 maya Exp $");
#if defined(AUDIO_DEBUG) || defined(DEBUG)
#define DPRINTF(x) if (cmpcidebug) printf x
@@ -92,7 +92,6 @@ static inline void cmpci_reg_clear_4(str
static inline void cmpci_reg_set_reg_misc(struct cmpci_softc *, uint32_t);
static inline void cmpci_reg_clear_reg_misc(struct cmpci_softc *, uint32_t);
static int cmpci_rate_to_index(int);
-static inline int cmpci_index_to_rate(int);
static inline int cmpci_index_to_divider(int);
static int cmpci_adjust(int, int);
@@ -329,13 +328,6 @@ cmpci_rate_to_index(int rate)
}
static inline int
-cmpci_index_to_rate(int index)
-{
-
- return cmpci_rate_table[index].rate;
-}
-
-static inline int
cmpci_index_to_divider(int index)
{