]> 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)
commitd7b97d002bedcce324a2051537699a47e5e6b6ea
tree1b88f977fc02afbaf46003ef81cad6a1a2fde78e
parenta6a9ec8a8d29070b2f67d1a4b34d73b5bf87811a
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