From acca6a799b523b0f068910834f31d9a7056fea2a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 10 Jan 2011 21:08:03 +0100 Subject: decoder_control: remove unused function dc_command_wait() Only dc_command_wait_locked() is really being used. --- src/decoder_control.c | 8 -------- src/decoder_control.h | 3 --- 2 files changed, 11 deletions(-) (limited to 'src') diff --git a/src/decoder_control.c b/src/decoder_control.c index 2ad7dbef9..a570b2441 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) { diff --git a/src/decoder_control.h b/src/decoder_control.h index 13b894685..f0e369c71 100644 --- a/src/decoder_control.h +++ b/src/decoder_control.h @@ -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. * -- cgit v1.2.3