Commit 53c0ad52 authored by Jesper Juhl's avatar Jesper Juhl Committed by Jiri Kosina

tehuti: delete redundant NULL check before release_firmware()

release_firmware() checks for NULL pointers - no need to test before
the call.
Signed-off-by: default avatarJesper Juhl <jj@chaosbits.net>
Signed-off-by: default avatarAndy Gospodarek <andy@greyhouse.net>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 62baaf34
......@@ -341,7 +341,7 @@ static int bdx_fw_load(struct bdx_priv *priv)
out:
if (master)
WRITE_REG(priv, regINIT_SEMAPHORE, 1);
if (fw)
release_firmware(fw);
if (rc) {
......
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