Commit 0351c329 authored by Jingoo Han's avatar Jingoo Han Committed by Felipe Balbi

usb: gadget: fotg210-udc: remove unnecessary OOM messages

The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.
Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent d48d41f1
...@@ -1112,17 +1112,13 @@ static int fotg210_udc_probe(struct platform_device *pdev) ...@@ -1112,17 +1112,13 @@ static int fotg210_udc_probe(struct platform_device *pdev)
/* initialize udc */ /* initialize udc */
fotg210 = kzalloc(sizeof(struct fotg210_udc), GFP_KERNEL); fotg210 = kzalloc(sizeof(struct fotg210_udc), GFP_KERNEL);
if (fotg210 == NULL) { if (fotg210 == NULL)
pr_err("kzalloc error\n");
goto err_alloc; goto err_alloc;
}
for (i = 0; i < FOTG210_MAX_NUM_EP; i++) { for (i = 0; i < FOTG210_MAX_NUM_EP; i++) {
_ep[i] = kzalloc(sizeof(struct fotg210_ep), GFP_KERNEL); _ep[i] = kzalloc(sizeof(struct fotg210_ep), GFP_KERNEL);
if (_ep[i] == NULL) { if (_ep[i] == NULL)
pr_err("_ep kzalloc error\n");
goto err_alloc; goto err_alloc;
}
fotg210->ep[i] = _ep[i]; fotg210->ep[i] = _ep[i];
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment