Commit 74033025 authored by Jesper Juhl's avatar Jesper Juhl Committed by John W. Linville
Browse files

wireless, atmel: remove pointless test for NULL before release_firmware() call



release_firmware() does its own test. Explicitly checking before the
call is redundant.
Signed-off-by: default avatarJesper Juhl <jj@chaosbits.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent c987ce93
......@@ -3989,8 +3989,7 @@ static int reset_atmel_card(struct net_device *dev)
atmel_copy_to_card(priv->dev, 0x8000, &fw[0x6000], len - 0x6000);
}
if (fw_entry)
release_firmware(fw_entry);
release_firmware(fw_entry);
}
err = atmel_wakeup_firmware(priv);
......
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