diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-06-08 08:57:57 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-06-08 08:57:57 -0400 |
commit | 514eef9c2a711b4c24b97bb456d39695a6fe1775 (patch) | |
tree | 0d98fb13304707682faa56d136249e9177a54932 /sound/pci/ctxfi/ctimap.c | |
parent | 4836ac655410e7f126d316b0be062b38746f7529 (diff) |
ALSA: ctxfi - Remove useless initializations and cast
Remove useless variable initializations and cast at the beginning of
functions.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi/ctimap.c')
-rw-r--r-- | sound/pci/ctxfi/ctimap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ctxfi/ctimap.c b/sound/pci/ctxfi/ctimap.c index d34eacd902ce..0b73368a4df6 100644 --- a/sound/pci/ctxfi/ctimap.c +++ b/sound/pci/ctxfi/ctimap.c | |||
@@ -99,8 +99,8 @@ int input_mapper_delete(struct list_head *mappers, struct imapper *entry, | |||
99 | 99 | ||
100 | void free_input_mapper_list(struct list_head *head) | 100 | void free_input_mapper_list(struct list_head *head) |
101 | { | 101 | { |
102 | struct imapper *entry = NULL; | 102 | struct imapper *entry; |
103 | struct list_head *pos = NULL; | 103 | struct list_head *pos; |
104 | 104 | ||
105 | while (!list_empty(head)) { | 105 | while (!list_empty(head)) { |
106 | pos = head->next; | 106 | pos = head->next; |