ALSA: synth: Fix assignment in if condition
authorTakashi Iwai <tiwai@suse.de>
Tue, 8 Jun 2021 14:05:37 +0000 (16:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 9 Jun 2021 15:30:35 +0000 (17:30 +0200)
commitdd1fc3c585dddf0f8d1baaa941395aa4afdfa724
treeb2636b6a3658fff9e66046cdbdf4b5b7005f0e1d
parentd0ad13ef704164cf41b5f38d3c9e87dd8f67b5bb
ALSA: synth: Fix assignment in if condition

EMUx synth driver code contains lots of assignments in if condition,
which is a bad coding style that may confuse readers and occasionally
lead to bugs.

This patch is merely for coding-style fixes, no functional changes.

Link: https://lore.kernel.org/r/20210608140540.17885-64-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/synth/emux/emux.c
sound/synth/emux/emux_effect.c
sound/synth/emux/emux_hwdep.c
sound/synth/emux/soundfont.c