summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2016-09-19 06:46:45 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2016-09-19 06:46:45 +0000
commitfcb46c4365c40831220993f10e09b4acccea5eec (patch)
treea429e44b79bc7a9c6395dd47c78f7a1d729f1d14 /sys/arch/sparc64
parent6baeb374a4d5982a962bf603c1fd84a2d3481a4a (diff)
Remove unused getdev() audio driver functions.
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/dev/ce4231.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/sys/arch/sparc64/dev/ce4231.c b/sys/arch/sparc64/dev/ce4231.c
index eeebcf06bb0..3655f9a3a5d 100644
--- a/sys/arch/sparc64/dev/ce4231.c
+++ b/sys/arch/sparc64/dev/ce4231.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ce4231.c,v 1.34 2016/09/14 06:12:19 ratchov Exp $ */
+/* $OpenBSD: ce4231.c,v 1.35 2016/09/19 06:46:43 ratchov Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -139,7 +139,6 @@ int ce4231_round_blocksize(void *, int);
int ce4231_commit_settings(void *);
int ce4231_halt_output(void *);
int ce4231_halt_input(void *);
-int ce4231_getdev(void *, struct audio_device *);
int ce4231_set_port(void *, mixer_ctrl_t *);
int ce4231_get_port(void *, mixer_ctrl_t *);
int ce4231_query_devinfo(void *addr, mixer_devinfo_t *);
@@ -164,7 +163,6 @@ struct audio_hw_if ce4231_sa_hw_if = {
ce4231_halt_output,
ce4231_halt_input,
0,
- ce4231_getdev,
0,
ce4231_set_port,
ce4231_get_port,
@@ -185,12 +183,6 @@ struct cfdriver audioce_cd = {
NULL, "audioce", DV_DULL
};
-struct audio_device ce4231_device = {
- "SUNW,CS4231",
- "b",
- "onboard1",
-};
-
int
ce4231_match(parent, vcf, aux)
struct device *parent;
@@ -621,15 +613,6 @@ ce4231_halt_input(addr)
return (0);
}
-int
-ce4231_getdev(addr, retp)
- void *addr;
- struct audio_device *retp;
-{
- *retp = ce4231_device;
- return (0);
-}
-
void
ce4231_set_outputs(struct ce4231_softc *sc, int mask)
{