diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-20 14:08:35 +0530 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-05-23 14:34:09 +0200 |
commit | 5ed5824bf43da9e2931fb94043a2942d73bec283 (patch) | |
tree | e40826cfabb6bd7329aeddd398c4b315de5b5df3 /sound/drivers/aloop.c | |
parent | 54d672e922cdb7e015a22a3a2c096dcac5ba284f (diff) | |
download | talos-obmc-linux-5ed5824bf43da9e2931fb94043a2942d73bec283.tar.gz talos-obmc-linux-5ed5824bf43da9e2931fb94043a2942d73bec283.zip |
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/aloop.c')
-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) static int loopback_remove(struct platform_device *devptr) { snd_card_free(platform_get_drvdata(devptr)); - platform_set_drvdata(devptr, NULL); return 0; } |