diff options
Diffstat (limited to 'drivers/usb/musb/phy-am335x-control.c')
-rw-r--r-- | drivers/usb/musb/phy-am335x-control.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/musb/phy-am335x-control.c b/drivers/usb/musb/phy-am335x-control.c index 5fd8802b3a..55a2ed27b7 100644 --- a/drivers/usb/musb/phy-am335x-control.c +++ b/drivers/usb/musb/phy-am335x-control.c @@ -140,10 +140,6 @@ static int am335x_control_usb_probe(struct device_d *dev) return ret; ctrl_usb = xzalloc(sizeof(*ctrl_usb)); - if (!ctrl_usb) { - dev_err(dev, "unable to alloc memory for control usb\n"); - return -ENOMEM; - } ctrl_usb->dev = dev; |