usb: gadget: bcm63xx_udc: 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: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
Sachin Kamat 2013-05-06 17:07:20 +05:30 committed by Felipe Balbi
parent fb00d6931a
commit e80ad12389
1 changed files with 0 additions and 1 deletions

View File

@ -2420,7 +2420,6 @@ static int bcm63xx_udc_remove(struct platform_device *pdev)
usb_del_gadget_udc(&udc->gadget);
BUG_ON(udc->driver);
platform_set_drvdata(pdev, NULL);
bcm63xx_uninit_udc_hw(udc);
return 0;