diff options
| author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-20 04:38:42 -0400 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2013-05-23 08:35:58 -0400 |
| commit | 464ede3ce59ba6144ff117ffa6427cac77fc6807 (patch) | |
| tree | 83c8fa9872847aa3bd4b2aa299498ff43544b291 /sound/ppc | |
| parent | 50c7d0da64e031c072fdc51b30d05c98761e3ebc (diff) | |
ALSA: powermac: 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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/ppc')
| -rw-r--r-- | sound/ppc/powermac.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/ppc/powermac.c b/sound/ppc/powermac.c index 09fc848d32ec..8abb521b4814 100644 --- a/sound/ppc/powermac.c +++ b/sound/ppc/powermac.c | |||
| @@ -139,7 +139,6 @@ __error: | |||
| 139 | static int snd_pmac_remove(struct platform_device *devptr) | 139 | static int snd_pmac_remove(struct platform_device *devptr) |
| 140 | { | 140 | { |
| 141 | snd_card_free(platform_get_drvdata(devptr)); | 141 | snd_card_free(platform_get_drvdata(devptr)); |
| 142 | platform_set_drvdata(devptr, NULL); | ||
| 143 | return 0; | 142 | return 0; |
| 144 | } | 143 | } |
| 145 | 144 | ||
