From c5613aa8a20c4d9b58e0ea8f0318f29600c85f5a Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 16 Apr 2014 18:49:29 +0200 Subject: ao: remove redundant get_delay check It did nothing; the real check is in push.c. --- audio/out/ao.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'audio') diff --git a/audio/out/ao.c b/audio/out/ao.c index 32eff86ff0..55fcac1a24 100644 --- a/audio/out/ao.c +++ b/audio/out/ao.c @@ -274,10 +274,6 @@ int ao_control(struct ao *ao, enum aocontrol cmd, void *arg) // this correctly. double ao_get_delay(struct ao *ao) { - if (!ao->api->get_delay) { - assert(ao->untimed); - return 0; - } return ao->api->get_delay(ao); } -- cgit v1.2.3