Commit ee51f443 authored by Jesper Juhl's avatar Jesper Juhl Committed by Jiri Kosina

aic94xx: Get rid of redundant NULL check before release_firmware() call

release_firmware() checks for NULL pointers internally, so checking
before calling the function is redundant.
Signed-off-by: default avatarJesper Juhl <jj@chaosbits.net>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 53c0ad52
......@@ -1228,8 +1228,7 @@ static int asd_seq_start_lseq(struct asd_ha_struct *asd_ha, int lseq)
int asd_release_firmware(void)
{
if (sequencer_fw)
release_firmware(sequencer_fw);
release_firmware(sequencer_fw);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment