Skip to content

Commit

Permalink
ALSA: mips/sgio2audio: Remove redundant platform_set_drvdata()
Browse files Browse the repository at this point in the history
Commit 0998d06 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.

Signed-off-by: Sachin Kamat <[email protected]>
Cc: Vivien Chappelier <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
Sachin Kamat authored and tiwai committed May 6, 2013
1 parent 3183520 commit 5a4ca9b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/mips/sgio2audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,6 @@ static int snd_sgio2audio_remove(struct platform_device *pdev)
struct snd_card *card = platform_get_drvdata(pdev);

snd_card_free(card);
platform_set_drvdata(pdev, NULL);
return 0;
}

Expand Down

0 comments on commit 5a4ca9b

Please sign in to comment.