decoder_control: remove unused function dc_command_wait()

Only dc_command_wait_locked() is really being used.
This commit is contained in:
Max Kellermann 2011-01-10 21:08:03 +01:00
parent b77e62260a
commit acca6a799b
2 changed files with 0 additions and 11 deletions

View File

@ -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)
{

View File

@ -226,9 +226,6 @@ decoder_current_song(const struct decoder_control *dc)
return NULL;
}
void
dc_command_wait(struct decoder_control *dc);
/**
* Start the decoder.
*