ALSA: hda/ca0132 - remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Thu, 22 Sep 2022 11:28:46 +0000 (11:28 +0000)
committerTakashi Iwai <tiwai@suse.de>
Thu, 22 Sep 2022 11:53:26 +0000 (13:53 +0200)
commitb5eee17cf7ddaf7b29a031b2c48277038e7a171a
tree2d9e69aa92ae3a81167ee742db5221224864b50d
parent2fa22c3c755fb06a0c4507320c929616bbae1ec3
ALSA: hda/ca0132 - remove the unneeded result variable

Return the value dsp_allocate_ports() directly instead of storing it in
another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
Link: https://lore.kernel.org/r/20220922112846.236987-1-ye.xingchen@zte.com.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c