summaryrefslogtreecommitdiff
path: root/sound/core/seq
diff options
context:
space:
mode:
authorLuca Tettamanti <kronos.it@gmail.com>2011-05-25 22:43:27 +0200
committerTakashi Iwai <tiwai@suse.de>2011-05-26 08:19:04 +0200
commit78fa2c4d2465d014e67d3e12d948425856587251 (patch)
tree87914a2c91f3f555da43088445a686f0f3400d7d /sound/core/seq
parentf2b3614cefb61ee6046a0aaee503ee37f227d310 (diff)
ALSA: core: remove unused variables.
Drop a few variables that are never read. Signed-off-by: Luca Tettamanti <kronos.it@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/seq')
-rw-r--r--sound/core/seq/seq_queue.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/core/seq/seq_queue.c b/sound/core/seq/seq_queue.c
index e7a8e9e4edb2..f9077361c119 100644
--- a/sound/core/seq/seq_queue.c
+++ b/sound/core/seq/seq_queue.c
@@ -467,13 +467,11 @@ int snd_seq_queue_timer_open(int queueid)
int snd_seq_queue_timer_close(int queueid)
{
struct snd_seq_queue *queue;
- struct snd_seq_timer *tmr;
int result = 0;
queue = queueptr(queueid);
if (queue == NULL)
return -EINVAL;
- tmr = queue->timer;
snd_seq_timer_close(queue);
queuefree(queue);
return result;