usb: gadget: f_uac2: 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.

Acked-by: Jaswinder Singh <jaswinder.singh@linaro.org>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
Sachin Kamat 2013-05-06 17:07:22 +05:30 committed by Felipe Balbi
parent a0c67276ee
commit a038391d8d
1 changed files with 0 additions and 2 deletions

View File

@ -456,8 +456,6 @@ static int snd_uac2_remove(struct platform_device *pdev)
{
struct snd_card *card = platform_get_drvdata(pdev);
platform_set_drvdata(pdev, NULL);
if (card)
return snd_card_free(card);