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

Commit 180c275e authored by Christian Engelmayer's avatar Christian Engelmayer Committed by Mark Brown
Browse files

ASoC: wm8993: Remove unused pointer in wm8993_remove()



Commit 88b5bdfd (ASoC: wm8993: drop regulator_bulk_free of devm_ allocated
data) eliminated the last user of driver data pointer 'wm8993' in function
wm8993_remove() - Thus remove it. Detected by Coverity: CID 1186208.

Signed-off-by: default avatarChristian Engelmayer <cengelma@gmx.at>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 2d075611
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1559,8 +1559,6 @@ static int wm8993_probe(struct snd_soc_codec *codec)

static int wm8993_remove(struct snd_soc_codec *codec)
{
	struct wm8993_priv *wm8993 = snd_soc_codec_get_drvdata(codec);

	wm8993_set_bias_level(codec, SND_SOC_BIAS_OFF);
	return 0;
}