aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-08-24 01:24:45 +0200
committerMax Kellermann <max@duempel.org>2011-08-24 01:47:13 +0200
commitc0a4558c62df588eb3da285b78ed3b04f28c274d (patch)
tree29c1f453ec7ba8e83877a2b613ef5b4f87be12cc
parent5ecb6fecc478733622aa33aaf4e6997f618bd006 (diff)
downloadmpd-c0a4558c62df588eb3da285b78ed3b04f28c274d.tar.gz
mpd-c0a4558c62df588eb3da285b78ed3b04f28c274d.tar.xz
mpd-c0a4558c62df588eb3da285b78ed3b04f28c274d.zip
output/raop: remove useless test_default_device() implementation
This defaults to "false" when the method pointer is NULL.
-rw-r--r--src/output/raop_output_plugin.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/output/raop_output_plugin.c b/src/output/raop_output_plugin.c
index f3c32382a..5bb1d22ea 100644
--- a/src/output/raop_output_plugin.c
+++ b/src/output/raop_output_plugin.c
@@ -1120,12 +1120,6 @@ send_audio_data(int fd)
return true;
}
-static bool
-raop_output_test_default_device(void)
-{
- return false;
-}
-
static void *
raop_output_init(G_GNUC_UNUSED const struct audio_format *audio_format,
G_GNUC_UNUSED const struct config_param *param,
@@ -1419,7 +1413,6 @@ raop_output_play(void *data, const void *chunk, size_t size,
const struct audio_output_plugin raopPlugin = {
.name = "raop",
- .test_default_device = raop_output_test_default_device,
.init = raop_output_init,
.finish = raop_output_finish,
.open = raop_output_open,