diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-01-21 09:10:00 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-01-21 09:10:00 +0100 |
commit | 3bb700e76914fe3a2f5b57704f23df593151521f (patch) | |
tree | 3728cac9535b4c42493dc1e1743276a6c8039243 /sound/pci/hda/hda_codec.c | |
parent | Merge branch 'topic/pcm-device-suspend' into for-next (diff) | |
download | linux-3bb700e76914fe3a2f5b57704f23df593151521f.tar.xz linux-3bb700e76914fe3a2f5b57704f23df593151521f.zip |
ALSA: hda - Fix unused variable warning
The unused variable was forgotten to be removed and now we get a
compiler warning:
sound/pci/hda/hda_codec.c: In function 'hda_codec_runtime_suspend':
sound/pci/hda/hda_codec.c:2926:18: warning: unused variable 'pcm'
Fixes: 17bc4815de58 ("ALSA: pci: Remove superfluous snd_pcm_suspend*() calls")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index ff6dbed4d3cd..e4704f5729d3 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -2923,7 +2923,6 @@ static void hda_call_codec_resume(struct hda_codec *codec) static int hda_codec_runtime_suspend(struct device *dev) { struct hda_codec *codec = dev_to_hda_codec(dev); - struct hda_pcm *pcm; unsigned int state; cancel_delayed_work_sync(&codec->jackpoll_work); |