diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2016-09-19 06:46:45 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2016-09-19 06:46:45 +0000 |
commit | fcb46c4365c40831220993f10e09b4acccea5eec (patch) | |
tree | a429e44b79bc7a9c6395dd47c78f7a1d729f1d14 /sys/arch/sgi | |
parent | 6baeb374a4d5982a962bf603c1fd84a2d3481a4a (diff) |
Remove unused getdev() audio driver functions.
Diffstat (limited to 'sys/arch/sgi')
-rw-r--r-- | sys/arch/sgi/dev/mavb.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/sys/arch/sgi/dev/mavb.c b/sys/arch/sgi/dev/mavb.c index f00e1245e60..11a54d6282e 100644 --- a/sys/arch/sgi/dev/mavb.c +++ b/sys/arch/sgi/dev/mavb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mavb.c,v 1.19 2016/09/14 06:12:19 ratchov Exp $ */ +/* $OpenBSD: mavb.c,v 1.20 2016/09/19 06:46:43 ratchov Exp $ */ /* * Copyright (c) 2005 Mark Kettenis @@ -165,7 +165,6 @@ int mavb_set_params(void *, int, int, struct audio_params *, int mavb_round_blocksize(void *hdl, int bs); int mavb_halt_output(void *); int mavb_halt_input(void *); -int mavb_getdev(void *, struct audio_device *); int mavb_set_port(void *, struct mixer_ctrl *); int mavb_get_port(void *, struct mixer_ctrl *); int mavb_query_devinfo(void *, struct mixer_devinfo *); @@ -188,7 +187,6 @@ struct audio_hw_if mavb_sa_hw_if = { mavb_halt_output, mavb_halt_input, 0, - mavb_getdev, 0, mavb_set_port, mavb_get_port, @@ -201,12 +199,6 @@ struct audio_hw_if mavb_sa_hw_if = { mavb_trigger_input }; -struct audio_device mavb_device = { - "A3", - "", - "mavb" -}; - int mavb_open(void *hdl, int flags) { @@ -391,13 +383,6 @@ mavb_halt_input(void *hdl) } int -mavb_getdev(void *hdl, struct audio_device *ret) -{ - *ret = mavb_device; - return (0); -} - -int mavb_set_port(void *hdl, struct mixer_ctrl *mc) { struct mavb_softc *sc = (struct mavb_softc *)hdl; |