From: Markus Elfring Date: Sat, 3 Jan 2015 19:43:01 +0000 (+0100) Subject: ALSA: aoa: Delete an unnecessary check before the function call "snd_pcm_suspend_all" X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~130^2~71 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa57b93b27eae1156c9a66a4ea85076f9a38d135;p=pandora-kernel.git ALSA: aoa: Delete an unnecessary check before the function call "snd_pcm_suspend_all" The snd_pcm_suspend_all() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed