Commit acca6a79 authored by Max Kellermann's avatar Max Kellermann

decoder_control: remove unused function dc_command_wait()

Only dc_command_wait_locked() is really being used.
parent b77e6226
...@@ -68,14 +68,6 @@ dc_command_wait_locked(struct decoder_control *dc) ...@@ -68,14 +68,6 @@ dc_command_wait_locked(struct decoder_control *dc)
player_wait_decoder(dc->player_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 static void
dc_command_locked(struct decoder_control *dc, enum decoder_command cmd) dc_command_locked(struct decoder_control *dc, enum decoder_command cmd)
{ {
......
...@@ -226,9 +226,6 @@ decoder_current_song(const struct decoder_control *dc) ...@@ -226,9 +226,6 @@ decoder_current_song(const struct decoder_control *dc)
return NULL; return NULL;
} }
void
dc_command_wait(struct decoder_control *dc);
/** /**
* Start the decoder. * Start the decoder.
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment