Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a7519b1 authored by Himateja Reddy's avatar Himateja Reddy
Browse files

msm: adsprpc: remove exsessive logging in context_free



Async RPC can easily exhaust the context table and results in failure.
Context free during context table exhaustion failure causes excessive
logging. Remove logging in context_free.

Change-Id: I4de2d638d465f98eeccabaefe99ae589e3780169
Signed-off-by: default avatarHimateja Reddy <hmreddy@codeaurora.org>
parent 729fffbd
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1657,9 +1657,6 @@ static void context_free(struct smq_invoke_ctx *ctx)
	if (i < FASTRPC_CTX_MAX && chan->ctxtable[i] == ctx) {
		chan->ctxtable[i] = NULL;
	} else {
		ADSPRPC_WARN(
			"encoded table ID %u is invalid (handle 0x%x, sc 0x%x)\n",
			i, ctx->handle, ctx->sc);
		for (i = 0; i < FASTRPC_CTX_MAX; i++) {
			if (chan->ctxtable[i] == ctx) {
				chan->ctxtable[i] = NULL;