summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs35l36.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2021-05-11 12:10:49 +0200
committerMark Brown <broonie@kernel.org>2021-05-11 16:42:42 +0200
commit634a4be0f9d16428779d60bb40fd852f888f0a34 (patch)
tree2be064a1ca3869071cefda08f7b519a88ec520f1 /sound/soc/codecs/cs35l36.c
parentMerge series "PinePhone BT audio bringup" from Samuel Holland <samuel@shollan... (diff)
downloadlinux-634a4be0f9d16428779d60bb40fd852f888f0a34.tar.xz
linux-634a4be0f9d16428779d60bb40fd852f888f0a34.zip
ASoC: cs35l36: Remove unneeded variable initialisation
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-1-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs35l36.c')
-rw-r--r--sound/soc/codecs/cs35l36.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs35l36.c b/sound/soc/codecs/cs35l36.c
index a038bcec2d17..db5472b10465 100644
--- a/sound/soc/codecs/cs35l36.c
+++ b/sound/soc/codecs/cs35l36.c
@@ -1156,7 +1156,7 @@ static int cs35l36_component_probe(struct snd_soc_component *component)
{
struct cs35l36_private *cs35l36 =
snd_soc_component_get_drvdata(component);
- int ret = 0;
+ int ret;
if ((cs35l36->rev_id == CS35L36_REV_A0) && cs35l36->pdata.dcm_mode) {
regmap_update_bits(cs35l36->regmap, CS35L36_BSTCVRT_DCM_CTRL,