Skip to content

Commit

Permalink
ASoC: da732x: Remove unused codec field form da732x_priv struct
Browse files Browse the repository at this point in the history
The field is initialized in the probe callback, but never used again. So it
can be removed.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Lars-Peter Clausen authored and Mark Brown committed Sep 9, 2014
1 parent f66a91f commit ee6b42e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sound/soc/codecs/da732x.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@

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

unsigned int sysclk;
bool pll_en;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit ee6b42e

Please sign in to comment.