]> 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)
commit9fdf1def8ab1f47c89538da147fdbc1bf264111a
tree3728cac9535b4c42493dc1e1743276a6c8039243
parentaf132727bc51fb23e2f3275a318873e0936e68a4
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: cf84669b9a7c ("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