ASoC: wm8991: Remove unused pointer in wm8991_probe()
[deliverable/linux.git] / sound / soc / codecs / wm8991.c
index dba0306c42a5c54aa459cc4fe1593b08c92a5abf..244eb09ffa43c0ae4d08e18ba91e9d3757327d27 100644 (file)
@@ -1251,11 +1251,8 @@ static int wm8991_remove(struct snd_soc_codec *codec)
 
 static int wm8991_probe(struct snd_soc_codec *codec)
 {
-       struct wm8991_priv *wm8991;
        int ret;
 
-       wm8991 = snd_soc_codec_get_drvdata(codec);
-
        ret = snd_soc_codec_set_cache_io(codec, 8, 16, SND_SOC_REGMAP);
        if (ret < 0) {
                dev_err(codec->dev, "Failed to set cache i/o: %d\n", ret);
This page took 0.030823 seconds and 5 git commands to generate.