From 5a4ca9b3fa24f81298c13a27c03c6dd4087ca159 Mon Sep 17 00:00:00 2001 From: Sachin Kamat Date: Mon, 6 May 2013 13:31:35 +0530 Subject: 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 Cc: Vivien Chappelier Signed-off-by: Takashi Iwai --- sound/mips/sgio2audio.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sound/mips') 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) struct snd_card *card = platform_get_drvdata(pdev); snd_card_free(card); - platform_set_drvdata(pdev, NULL); return 0; } -- cgit