decoder_control: remove unused function dc_command_wait()
Only dc_command_wait_locked() is really being used.
This commit is contained in:
parent
b77e62260a
commit
acca6a799b
|
@ -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)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
dc_command_wait(struct decoder_control *dc);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start the decoder.
|
* Start the decoder.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue