Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: tas2781-fmwlib: Remove unnecessary NULL check before release_firmware()

release_firmware() checks for NULL pointers internally.
Remove unneeded NULL check for fmw here.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Link: https://patch.msgid.link/20250407063011.2771977-1-nichen@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Chen Ni and committed by
Mark Brown
348679ff 82d8d336

+1 -2
+1 -2
sound/soc/codecs/tas2781-fmwlib.c
··· 2074 2074 } 2075 2075 2076 2076 out: 2077 - if (fw_entry) 2078 - release_firmware(fw_entry); 2077 + release_firmware(fw_entry); 2079 2078 2080 2079 return ret; 2081 2080 }