mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 04:56:44 +07:00
usb: gadget: fusb300_udc: remove unnecessary OOM messages
The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
8a67ab7d1d
commit
8a24bb4039
@ -1400,17 +1400,13 @@ static int __init fusb300_probe(struct platform_device *pdev)
|
|||||||
|
|
||||||
/* initialize udc */
|
/* initialize udc */
|
||||||
fusb300 = kzalloc(sizeof(struct fusb300), GFP_KERNEL);
|
fusb300 = kzalloc(sizeof(struct fusb300), GFP_KERNEL);
|
||||||
if (fusb300 == NULL) {
|
if (fusb300 == NULL)
|
||||||
pr_err("kzalloc error\n");
|
|
||||||
goto clean_up;
|
goto clean_up;
|
||||||
}
|
|
||||||
|
|
||||||
for (i = 0; i < FUSB300_MAX_NUM_EP; i++) {
|
for (i = 0; i < FUSB300_MAX_NUM_EP; i++) {
|
||||||
_ep[i] = kzalloc(sizeof(struct fusb300_ep), GFP_KERNEL);
|
_ep[i] = kzalloc(sizeof(struct fusb300_ep), GFP_KERNEL);
|
||||||
if (_ep[i] == NULL) {
|
if (_ep[i] == NULL)
|
||||||
pr_err("_ep kzalloc error\n");
|
|
||||||
goto clean_up;
|
goto clean_up;
|
||||||
}
|
|
||||||
fusb300->ep[i] = _ep[i];
|
fusb300->ep[i] = _ep[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user