ASoC: wm8995: Remove unused pointer in hp_supply_event()

Remove unused driver data pointer 'wm8995' in function hp_supply_event().

Detected by Coverity: CID 141181.

Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
Christian Engelmayer 2014-02-07 23:37:16 +01:00 committed by Mark Brown
parent 38dbfb59d1
commit 8955f28dba
1 changed files with 0 additions and 2 deletions

View File

@ -561,10 +561,8 @@ static int hp_supply_event(struct snd_soc_dapm_widget *w,
struct snd_kcontrol *kcontrol, int event)
{
struct snd_soc_codec *codec;
struct wm8995_priv *wm8995;
codec = w->codec;
wm8995 = snd_soc_codec_get_drvdata(codec);
switch (event) {
case SND_SOC_DAPM_PRE_PMU: