]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite10623ddf4635aec4c4335045c5c9321daae6157
treef9459f3b9afec95b0f712e4c642c8fb099857ffd
parent495290504695e15991663e2d7386b5c9729ad6c9
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