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

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
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3989,7 +3989,6 @@ 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);
	}