]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: (cosmetic) remove redundant "ret" variable uses
authorGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Thu, 17 Sep 2020 10:56:30 +0000 (13:56 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 17 Sep 2020 14:53:19 +0000 (15:53 +0100)
commit9aeba80385940120564ae0c618c22c05cec5f016
tree553ed45b56a8658cec1f11f01435b8af059105a9
parent7da96ac4defa5e2be98fc17083a406876e736b2e
ASoC: SOF: (cosmetic) remove redundant "ret" variable uses

In some cases no "ret" variable is even needed, those functions always
return 0 anyway, in other cases "ret" initialisation is redundant.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200917105633.2579047-6-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/control.c
sound/soc/sof/topology.c