Просмотр исходного кода

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 лет назад
Родитель
Сommit
c14b9a940e
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      drivers/remoteproc/remoteproc_core.c

+ 0 - 1
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;
 		}