aboutsummaryrefslogtreecommitdiff
path: root/src/decoder_control.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-01-10 21:08:03 +0100
committerMax Kellermann <max@duempel.org>2011-01-10 21:08:16 +0100
commitacca6a799b523b0f068910834f31d9a7056fea2a (patch)
tree35074eb01364e9a08218fd4ee622f1d35dcbc94e /src/decoder_control.c
parentb77e62260aa1f3d36d742d947610c13f235bb67a (diff)
decoder_control: remove unused function dc_command_wait()
Only dc_command_wait_locked() is really being used.
Diffstat (limited to 'src/decoder_control.c')
-rw-r--r--src/decoder_control.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/decoder_control.c b/src/decoder_control.c
index 2ad7dbef..a570b244 100644
--- a/src/decoder_control.c
+++ b/src/decoder_control.c
@@ -68,14 +68,6 @@ dc_command_wait_locked(struct decoder_control *dc)
player_wait_decoder(dc->player_control, dc);
}
-void
-dc_command_wait(struct decoder_control *dc)
-{
- decoder_lock(dc);
- dc_command_wait_locked(dc);
- decoder_unlock(dc);
-}
-
static void
dc_command_locked(struct decoder_control *dc, enum decoder_command cmd)
{