From a7b65e41e2062c44c535f7cb4609e7988fc8ac0d Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 22 Dec 2015 21:26:28 +0000 Subject: [PATCH] audiod: Simplify get_time_string() The function does the right thing if audiod is on but there is no slot info available. Kill the special casing. --- audiod.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/audiod.c b/audiod.c index 798142f3..8b9422bc 100644 --- a/audiod.c +++ b/audiod.c @@ -326,8 +326,6 @@ char *get_time_string(void) return NULL; goto empty; /* stopped */ } - if (audiod_status == AUDIOD_ON && !s) - goto empty; /* * Valid status items and playing, set length and tmp to the stream * start. We use the slot info and fall back to the info from current -- 2.30.2