[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:
parent
c93f5a1eca
commit
5949d2443d
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue