]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: 6fire: Drop unnecessary NULL checks
authorTakashi Iwai <tiwai@suse.de>
Tue, 14 Apr 2026 13:22:14 +0000 (15:22 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 15 Apr 2026 12:27:28 +0000 (14:27 +0200)
commit02df59d0258cd97cc60b49e5570ebfcc95ea6030
tree34ed81d98643092513da090d121fd5723b846009
parent14101a067012ee227b7c3e5ec877e79885961cff
ALSA: 6fire: Drop unnecessary NULL checks

The NULL checks of chip pointer in usb6fire_chip_abrt() and
usb6fire_card_free() are utterly useless, as it's guaranteed to be
non-NULL.  Drop them for increasing the readability.

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