ASoC: imx-pcm-rpmsg: Remove unused variable
authorDeepak R Varma <drv@mailo.com>
Mon, 13 Feb 2023 18:13:03 +0000 (23:43 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 14 Feb 2023 13:25:17 +0000 (13:25 +0000)
commit88541443497d47313ec4de1ecc1946288ae0ed16
tree6d4a963ef19eb6fe518d309e667b12f0b5517bda
parentf7d00a9be147d9c6feeb19591b39f8102f70cc45
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: Deepak R Varma <drv@mailo.com>
Link: https://lore.kernel.org/r/Y+p9r5y9DPSJkPVf@ubun2204.myguest.virtualbox.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-pcm-rpmsg.c