summaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/ctimap.c
diff options
context:
space:
mode:
authorTakashi Iwai2009-06-08 14:57:57 +0200
committerTakashi Iwai2009-06-08 14:57:57 +0200
commit514eef9c2a711b4c24b97bb456d39695a6fe1775 (patch)
tree0d98fb13304707682faa56d136249e9177a54932 /sound/pci/ctxfi/ctimap.c
parentALSA: ctxfi - Fix DMA mask for emu20k2 chip (diff)
downloadkernel-qcow2-linux-514eef9c2a711b4c24b97bb456d39695a6fe1775.tar.gz
kernel-qcow2-linux-514eef9c2a711b4c24b97bb456d39695a6fe1775.tar.xz
kernel-qcow2-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;