]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitb25cf30a013195a69c167209d13c19b90a7450f2
tree1b88f977fc02afbaf46003ef81cad6a1a2fde78e
parenta92d5ee8666afcb4abc7686d7b760f0fb7a0c14c
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