ALSA: hda/tas2781: Remove unnecessary NULL check before release_firmware()
authorChen Ni <nichen@iscas.ac.cn>
Mon, 7 Apr 2025 06:19:39 +0000 (14:19 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 7 Apr 2025 07:18:54 +0000 (09:18 +0200)
commit120305ab9017ee76ac0bed4b72b349faeb1deb1c
tree6f17702c5fb30631cf25412d0abf27e1ef3458aa
parent0af2f6be1b4281385b618cb86ad946eded089ac8
ALSA: hda/tas2781: 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>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20250407061939.2771803-1-nichen@iscas.ac.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/tas2781_hda_spi.c