ALSA: pcm: Adjust nine function calls together with a variable assignment
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 23 Aug 2017 07:20:29 +0000 (09:20 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 23 Aug 2017 08:36:18 +0000 (10:36 +0200)
commitc8da9be4a75f1f63024a16b976c5be47405c13dc
treef9459f3b9afec95b0f712e4c642c8fb099857ffd
parent97d15a141f84a02d40d2ee442df5c6bd2f62b3d8
ALSA: pcm: Adjust nine function calls together with a variable assignment

The script "checkpatch.pl" pointed information out like the following.

ERROR: do not use assignment in if condition

Thus fix the affected source code places.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm.c