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

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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) {