From: Andre Noll Date: Sat, 18 Dec 2010 11:54:11 +0000 (+0100) Subject: aacdec: Remove useless call to btr_get_input_queue_size(). X-Git-Tag: v0.4.6~49^2~2 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=aea6128f919fcfd94be25a7859e8043b7ddf6b3e;p=paraslash.git aacdec: Remove useless call to btr_get_input_queue_size(). The returned input queue size is never used. --- diff --git a/aacdec_filter.c b/aacdec_filter.c index 1ac6a99a..5b2d2a27 100644 --- a/aacdec_filter.c +++ b/aacdec_filter.c @@ -89,7 +89,7 @@ static void aacdec_post_select(__a_unused struct sched *s, struct task *t) int i, ret; unsigned char *p, *inbuf, *outbuffer; char *btr_buf; - size_t len, skip, consumed, loaded, iqs; + size_t len, skip, consumed, loaded; next_buffer: t->error = 0; @@ -102,7 +102,6 @@ next_buffer: len = btr_next_buffer(btrn, (char **)&inbuf); len = PARA_MIN(len, (size_t)8192); consumed = 0; - iqs = btr_get_input_queue_size(btrn); if (!padd->initialized) { unsigned long rate = 0; unsigned char channels = 0;