diff options
| -rw-r--r-- | drivers/usb/host/oxu210hp-hcd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/host/oxu210hp-hcd.c b/drivers/usb/host/oxu210hp-hcd.c index 4f0f0339532f..c9d114965123 100644 --- a/drivers/usb/host/oxu210hp-hcd.c +++ b/drivers/usb/host/oxu210hp-hcd.c | |||
| @@ -3874,7 +3874,6 @@ static int oxu_drv_probe(struct platform_device *pdev) | |||
| 3874 | 3874 | ||
| 3875 | error_init: | 3875 | error_init: |
| 3876 | kfree(info); | 3876 | kfree(info); |
| 3877 | platform_set_drvdata(pdev, NULL); | ||
| 3878 | 3877 | ||
| 3879 | error_alloc: | 3878 | error_alloc: |
| 3880 | iounmap(base); | 3879 | iounmap(base); |
| @@ -3907,7 +3906,6 @@ static int oxu_drv_remove(struct platform_device *pdev) | |||
| 3907 | release_mem_region(memstart, memlen); | 3906 | release_mem_region(memstart, memlen); |
| 3908 | 3907 | ||
| 3909 | kfree(info); | 3908 | kfree(info); |
| 3910 | platform_set_drvdata(pdev, NULL); | ||
| 3911 | 3909 | ||
| 3912 | return 0; | 3910 | return 0; |
| 3913 | } | 3911 | } |
