Skip to content

Commit

Permalink
[ALSA] [ML403-AC97CR] Remove duplicate snd_card_set_dev()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
joft authored and tiwai committed Apr 24, 2008
1 parent c93f5a1 commit 5949d24
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sound/drivers/ml403-ac97cr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5949d24

Please sign in to comment.