]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ALSA: wavefront: Fix assignment in if condition
authorTakashi Iwai <tiwai@suse.de>
Tue, 8 Jun 2021 14:04:40 +0000 (16:04 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 9 Jun 2021 15:29:42 +0000 (17:29 +0200)
commit520226e93e2620e027bde67a75025b3d61916a40
tree7a4817b8b0c5157554ab329733d39b5919fed8f2
parent5ab6d6601366f298dd787fd78c8b55e4a8af2bc8
ALSA: wavefront: Fix assignment in if condition

ISA WaveFront 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-7-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/wavefront/wavefront.c
sound/isa/wavefront/wavefront_midi.c
sound/isa/wavefront/wavefront_synth.c