]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: 6fire: Reduce multi-level conditionals in usb6fire_chip_disconnect()
authorTakashi Iwai <tiwai@suse.de>
Tue, 14 Apr 2026 13:22:13 +0000 (15:22 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 15 Apr 2026 12:27:27 +0000 (14:27 +0200)
commit14101a067012ee227b7c3e5ec877e79885961cff
treefb3424a0589cada2bef89681e66c302f9f76a5b9
parent4d5de85b6a9961130666070061a2466913a5c607
ALSA: 6fire: Reduce multi-level conditionals in usb6fire_chip_disconnect()

The current code has deep indentation levels because of multiple if's.
Make it returning and reduce the multi-level conditionals for
increasing the code readability.

No functional change, just but a code refactoring.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20260414132218.411013-4-tiwai@suse.de
sound/usb/6fire/chip.c