ASoC: cs4265: Minor tidy up of error paths
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Tue, 11 May 2021 10:10:50 +0000 (11:10 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 11 May 2021 14:42:43 +0000 (15:42 +0100)
commitfd4e6baa6256b9c5cb6d8d6a020093ee9aee0372
tree220adff2c62a786b1b5d07d1bc9b8c68fb813f13
parent634a4be0f9d16428779d60bb40fd852f888f0a34
ASoC: cs4265: Minor tidy up of error paths

Fixup a needlessly initialised variable and an unchecked return value.

Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210511101051.17726-2-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs4265.c