From: Lee Jones Date: Thu, 4 Aug 2016 09:21:47 +0000 (+0100) Subject: remoteproc: core: Remove pointless OOM print X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c14b9a940e53a50f8fc56cc613525d2db40f19be;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git remoteproc: core: Remove pointless OOM print These types of error prints are superfluous. The system will pick up on OOM issues and let the user know. Signed-off-by: Lee Jones Signed-off-by: Bjorn Andersson --- diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c index 383654c70b82..63fd365dec14 100644 --- a/drivers/remoteproc/remoteproc_core.c +++ b/drivers/remoteproc/remoteproc_core.c @@ -617,7 +617,6 @@ static int rproc_handle_carveout(struct rproc *rproc, if (rproc->domain) { mapping = kzalloc(sizeof(*mapping), GFP_KERNEL); if (!mapping) { - dev_err(dev, "kzalloc mapping failed\n"); ret = -ENOMEM; goto dma_free; }