Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

ipw2100: remove a redundant NULL check before calling release_firmware()



The release_firmware() function does its own NULL test so a test
before calling it is rather redundant.

Signed-off-by: default avatarJesper Juhl <jj@chaosbits.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent f5123117
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -8508,7 +8508,6 @@ static void ipw2100_release_firmware(struct ipw2100_priv *priv,
				     struct ipw2100_fw *fw)
{
	fw->version = 0;
	if (fw->fw_entry)
	release_firmware(fw->fw_entry);
	fw->fw_entry = NULL;
}