]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix unused variable warning
authorTakashi Iwai <tiwai@suse.de>
Mon, 21 Jan 2019 08:10:00 +0000 (09:10 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 21 Jan 2019 08:10:00 +0000 (09:10 +0100)
commit9f98537215b94a05bf4ab1acaf58077f1798e0d0
tree3728cac9535b4c42493dc1e1743276a6c8039243
parent10dc5a7cf0e9d66142711e0d7bc109a3c65aa873
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: 92e3a049db91 ("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>
sound/pci/hda/hda_codec.c