remoteproc: core: Remove pointless OOM print
authorLee Jones <lee.jones@linaro.org>
Thu, 4 Aug 2016 09:21:47 +0000 (10:21 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 10 Aug 2016 17:46:14 +0000 (10:46 -0700)
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>
drivers/remoteproc/remoteproc_core.c

index 383654c70b826d89e7025e0948d4e45b065f6389..63fd365dec14b654d7457b33d673bc3a608aae82 100644 (file)
@@ -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;
                }