dwc->ev_buffs = devm_kzalloc(dwc->dev, sizeof(*dwc->ev_buffs) * num,
                        GFP_KERNEL);
-       if (!dwc->ev_buffs) {
-               dev_err(dwc->dev, "can't allocate event buffers array\n");
+       if (!dwc->ev_buffs)
                return -ENOMEM;
-       }
 
        for (i = 0; i < num; i++) {
                struct dwc3_event_buffer        *evt;
        void                    *mem;
 
        mem = devm_kzalloc(dev, sizeof(*dwc) + DWC3_ALIGN_MASK, GFP_KERNEL);
-       if (!mem) {
-               dev_err(dev, "not enough memory\n");
+       if (!mem)
                return -ENOMEM;
-       }
+
        dwc = PTR_ALIGN(mem, DWC3_ALIGN_MASK + 1);
        dwc->mem = mem;
        dwc->dev = dev;
 
        int                     ret;
 
        exynos = devm_kzalloc(dev, sizeof(*exynos), GFP_KERNEL);
-       if (!exynos) {
-               dev_err(dev, "not enough memory\n");
+       if (!exynos)
                return -ENOMEM;
-       }
 
        /*
         * Right now device-tree probed devices don't get dma_mask set.
 
        }
 
        omap = devm_kzalloc(dev, sizeof(*omap), GFP_KERNEL);
-       if (!omap) {
-               dev_err(dev, "not enough memory\n");
+       if (!omap)
                return -ENOMEM;
-       }
 
        platform_set_drvdata(pdev, omap);
 
 
        struct device           *dev = &pci->dev;
 
        glue = devm_kzalloc(dev, sizeof(*glue), GFP_KERNEL);
-       if (!glue) {
-               dev_err(dev, "not enough memory\n");
+       if (!glue)
                return -ENOMEM;
-       }
 
        glue->dev = dev;
 
 
 {
        struct dwc3_request             *req;
        struct dwc3_ep                  *dep = to_dwc3_ep(ep);
-       struct dwc3                     *dwc = dep->dwc;
 
        req = kzalloc(sizeof(*req), gfp_flags);
-       if (!req) {
-               dev_err(dwc->dev, "not enough memory\n");
+       if (!req)
                return NULL;
-       }
 
        req->epnum      = dep->number;
        req->dep        = dep;
                u8 epnum = (i << 1) | (!!direction);
 
                dep = kzalloc(sizeof(*dep), GFP_KERNEL);
-               if (!dep) {
-                       dev_err(dwc->dev, "can't allocate endpoint %d\n",
-                                       epnum);
+               if (!dep)
                        return -ENOMEM;
-               }
 
                dep->dwc = dwc;
                dep->number = epnum;
 
        dwc->setup_buf = kzalloc(DWC3_EP0_BOUNCE_SIZE, GFP_KERNEL);
        if (!dwc->setup_buf) {
-               dev_err(dwc->dev, "failed to allocate setup buffer\n");
                ret = -ENOMEM;
                goto err2;
        }