From 596200d467873728e8c194d48d11a466a6d00b34 Mon Sep 17 00:00:00 2001 From: Himateja Reddy Date: Wed, 2 Sep 2020 17:24:58 -0700 Subject: [PATCH] msm: adsprpc: remove error log in case of rpmsg_send failures Remove error log in case of rpmsg_send failures as it can flood the kernel buffer when the remote subsystem is down. Change-Id: I2ce8911f88c7ae520ee36913e46ec8f7bada96a7 Acked-by: Thyagarajan Venkatanarayanan Signed-off-by: Himateja Reddy --- drivers/char/adsprpc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/char/adsprpc.c b/drivers/char/adsprpc.c index 1759027fa88c..4fddc673195b 100644 --- a/drivers/char/adsprpc.c +++ b/drivers/char/adsprpc.c @@ -2722,9 +2722,6 @@ static int fastrpc_invoke_send(struct smq_invoke_ctx *ctx, ns = get_timestamp_in_ns(); fastrpc_update_txmsg_buf(channel_ctx, msg, err, ns); bail: - if (err) - ADSPRPC_ERR("failed with err %d, dom %d (hndl 0x%x, sc 0x%x)\n", - err, cid, handle, sc); return err; }