summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2009-06-30 15:18:36 +0400
committerTakashi Iwai <tiwai@suse.de>2009-06-30 14:53:42 +0200
commit5a70411d6cf006a4b26577f977bb3f2915a6ce44 (patch)
tree3763ca33797b5e6ef20a1c58ce360a405953240c /src
parent2a77d217a6b8132338632f55df6e2fcb74718b20 (diff)
pcm_hooks: cosmetic removal of unused variables
Signed-off-by: Paul Fertser <fercerpav@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'src')
-rw-r--r--src/pcm/pcm_hooks.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pcm/pcm_hooks.c b/src/pcm/pcm_hooks.c
index 2fbee739..3a99d557 100644
--- a/src/pcm/pcm_hooks.c
+++ b/src/pcm/pcm_hooks.c
@@ -99,7 +99,6 @@ static int snd_pcm_hooks_close(snd_pcm_t *pcm)
}
}
while (!list_empty(&h->dllist)) {
- struct snd_pcm_hook_dllist *dl;
pos = h->dllist.next;
hook_remove_dlobj(list_entry(pos, struct snd_pcm_hook_dllist, list));
}
@@ -345,7 +344,6 @@ static int snd_pcm_hook_add_conf(snd_pcm_t *pcm, snd_config_t *root, snd_config_
snd_config_iterator_t i, next;
int (*install_func)(snd_pcm_t *pcm, snd_config_t *args) = NULL;
void *h = NULL;
- struct snd_pcm_hook_dllist *dl;
if (snd_config_get_type(conf) != SND_CONFIG_TYPE_COMPOUND) {
SNDERR("Invalid hook definition");