diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-20 04:38:35 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-05-23 08:34:09 -0400 |
commit | 5ed5824bf43da9e2931fb94043a2942d73bec283 (patch) | |
tree | e40826cfabb6bd7329aeddd398c4b315de5b5df3 /sound/drivers | |
parent | 54d672e922cdb7e015a22a3a2c096dcac5ba284f (diff) |
ALSA: aloop: 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: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers')
-rw-r--r-- | sound/drivers/aloop.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c index 6f78de9c6fb6..f7589923effa 100644 --- a/sound/drivers/aloop.c +++ b/sound/drivers/aloop.c | |||
@@ -1183,7 +1183,6 @@ static int loopback_probe(struct platform_device *devptr) | |||
1183 | static int loopback_remove(struct platform_device *devptr) | 1183 | static int loopback_remove(struct platform_device *devptr) |
1184 | { | 1184 | { |
1185 | snd_card_free(platform_get_drvdata(devptr)); | 1185 | snd_card_free(platform_get_drvdata(devptr)); |
1186 | platform_set_drvdata(devptr, NULL); | ||
1187 | return 0; | 1186 | return 0; |
1188 | } | 1187 | } |
1189 | 1188 | ||