Эх сурвалжийг харах

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 <lee.jones@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Lee Jones 9 жил өмнө
parent
commit
c14b9a940e

+ 0 - 1
drivers/remoteproc/remoteproc_core.c

@@ -617,7 +617,6 @@ static int rproc_handle_carveout(struct rproc *rproc,
 	if (rproc->domain) {
 	if (rproc->domain) {
 		mapping = kzalloc(sizeof(*mapping), GFP_KERNEL);
 		mapping = kzalloc(sizeof(*mapping), GFP_KERNEL);
 		if (!mapping) {
 		if (!mapping) {
-			dev_err(dev, "kzalloc mapping failed\n");
 			ret = -ENOMEM;
 			ret = -ENOMEM;
 			goto dma_free;
 			goto dma_free;
 		}
 		}