summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/phy-am335x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/musb/phy-am335x.c')
-rw-r--r--drivers/usb/musb/phy-am335x.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/musb/phy-am335x.c b/drivers/usb/musb/phy-am335x.c
index 204e51054d..ec8c0f538b 100644
--- a/drivers/usb/musb/phy-am335x.c
+++ b/drivers/usb/musb/phy-am335x.c
@@ -34,8 +34,6 @@ static int am335x_phy_probe(struct device_d *dev)
int ret;
am_usbphy = xzalloc(sizeof(*am_usbphy));
- if (!am_usbphy)
- return -ENOMEM;
iores = dev_request_mem_resource(dev, 0);
if (IS_ERR(iores)) {