]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Remove superfluous pcm NULL check
authorTakashi Iwai <tiwai@suse.de>
Wed, 26 Aug 2015 12:21:14 +0000 (14:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 26 Aug 2015 12:21:14 +0000 (14:21 +0200)
commit7e733775cce4efdae5a4d3dc381baaac55d28ccd
tree1b88f977fc02afbaf46003ef81cad6a1a2fde78e
parentb8783a6245f3c970536b9f2ad45701f65d549c78
ALSA: hda - Remove superfluous pcm NULL check

The variable pcm can be never NULL since it was rewritten with
list_for_each_entry().

Suggested-by: Markus Osterhoff <linux-kernel@k-raum.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c