aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-06 04:01:35 -0400
committerTakashi Iwai <tiwai@suse.de>2013-05-06 04:45:54 -0400
commit5a4ca9b3fa24f81298c13a27c03c6dd4087ca159 (patch)
tree5e949a0799a0f87d3b6916367a252884299af817
parent318352061618504dbbe93c1817fe3be4b53ce08a (diff)
ALSA: mips/sgio2audio: Remove redundant platform_set_drvdata()
Commit 0998d06310 (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 <sachin.kamat@linaro.org> Cc: Vivien Chappelier <vivien.chappelier@linux-mips.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/mips/sgio2audio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/mips/sgio2audio.c b/sound/mips/sgio2audio.c
index 01a03efdc8b0..cfe99ae149fe 100644
--- a/sound/mips/sgio2audio.c
+++ b/sound/mips/sgio2audio.c
@@ -963,7 +963,6 @@ static int snd_sgio2audio_remove(struct platform_device *pdev)
963 struct snd_card *card = platform_get_drvdata(pdev); 963 struct snd_card *card = platform_get_drvdata(pdev);
964 964
965 snd_card_free(card); 965 snd_card_free(card);
966 platform_set_drvdata(pdev, NULL);
967 return 0; 966 return 0;
968} 967}
969 968