Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee6b42ee authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Mark Brown
Browse files

ASoC: da732x: Remove unused codec field form da732x_priv struct



The field is initialized in the probe callback, but never used again. So it
can be removed.

Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent f66a91ff
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -35,7 +35,6 @@

struct da732x_priv {
	struct regmap *regmap;
	struct snd_soc_codec *codec;

	unsigned int sysclk;
	bool pll_en;
@@ -1512,8 +1511,6 @@ static int da732x_probe(struct snd_soc_codec *codec)
{
	struct da732x_priv *da732x = snd_soc_codec_get_drvdata(codec);

	da732x->codec = codec;

	da732x_set_bias_level(codec, SND_SOC_BIAS_STANDBY);

	return 0;