Skip to content
Unverified Commit 88541443 authored by Deepak R Varma's avatar Deepak R Varma Committed by Mark Brown
Browse files

ASoC: imx-pcm-rpmsg: Remove unused variable



Variable ret is initialed but is never modified or used except for
returning the initial value 0. The value can be directly returned
instead and the variable definition can be dropped.
Issue identified using returnvar.cocci Coccinelle semantic patch.

Signed-off-by: default avatarDeepak R Varma <drv@mailo.com>
Link: https://lore.kernel.org/r/Y+p9r5y9DPSJkPVf@ubun2204.myguest.virtualbox.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent f7d00a9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment