Skip to content

Commit

Permalink
ASoC: WM8985: Remove unneeded declaration.
Browse files Browse the repository at this point in the history
We are not using the private data in this function, so get rid of it.

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Dimitris Papastamos authored and Mark Brown committed Sep 24, 2010
1 parent 591796b commit fc38a8a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sound/soc/codecs/wm8985.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,12 +557,10 @@ static int wm8985_dac_mute(struct snd_soc_dai *dai, int mute)

static int wm8985_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
{
struct wm8985_priv *wm8985;
struct snd_soc_codec *codec;
u16 format, master, bcp, lrp;

codec = dai->codec;
wm8985 = snd_soc_codec_get_drvdata(codec);

switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) {
case SND_SOC_DAIFMT_I2S:
Expand Down

0 comments on commit fc38a8a

Please sign in to comment.