aacdec: Remove useless call to btr_get_input_queue_size().
authorAndre Noll <maan@systemlinux.org>
Sat, 18 Dec 2010 11:54:11 +0000 (12:54 +0100)
committerAndre Noll <maan@systemlinux.org>
Thu, 20 Jan 2011 20:23:54 +0000 (21:23 +0100)
The returned input queue size is never used.

aacdec_filter.c

index 1ac6a99..5b2d2a2 100644 (file)
@@ -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;