[ALSA] [ML403-AC97CR] Remove duplicate snd_card_set_dev()

We want to have snd_card_set_dev() in _probe(), but not a second one in
snd_ml403_ac97cr_create().

Signed-off-by: Joachim Foerster <JOFT@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Joachim Foerster 2008-03-17 08:40:12 +01:00 committed by Takashi Iwai
parent c93f5a1eca
commit 5949d2443d

View File

@ -1191,8 +1191,6 @@ snd_ml403_ac97cr_create(struct snd_card *card, struct platform_device *pfdev,
return err;
}
snd_card_set_dev(card, &pfdev->dev);
*rml403_ac97cr = ml403_ac97cr;
return 0;
}