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

Commit 0547d0f3 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

ASoC: wm8995: Remove unused i2c variable in wm8995_remove()

parent 6fa0c25b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1573,9 +1573,7 @@ static int wm8995_resume(struct snd_soc_codec *codec)
static int wm8995_remove(struct snd_soc_codec *codec)
{
	struct wm8995_priv *wm8995;
	struct i2c_client *i2c;

	i2c = container_of(codec->dev, struct i2c_client, dev);
	wm8995 = snd_soc_codec_get_drvdata(codec);
	wm8995_set_bias_level(codec, SND_SOC_BIAS_OFF);
	return 0;