summaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/ctimap.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-06-08 14:57:57 +0200
committerTakashi Iwai <tiwai@suse.de>2009-06-08 14:57:57 +0200
commit514eef9c2a711b4c24b97bb456d39695a6fe1775 (patch)
tree0d98fb13304707682faa56d136249e9177a54932 /sound/pci/ctxfi/ctimap.c
parent4836ac655410e7f126d316b0be062b38746f7529 (diff)
downloadblackbird-op-linux-514eef9c2a711b4c24b97bb456d39695a6fe1775.tar.gz
blackbird-op-linux-514eef9c2a711b4c24b97bb456d39695a6fe1775.zip
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.c4
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,
void free_input_mapper_list(struct list_head *head)
{
- struct imapper *entry = NULL;
- struct list_head *pos = NULL;
+ struct imapper *entry;
+ struct list_head *pos;
while (!list_empty(head)) {
pos = head->next;
OpenPOWER on IntegriCloud