Commit bd71e0dc authored by Yushan Zhou's avatar Yushan Zhou Committed by Herbert Xu
Browse files

crypto: marvell/octeontx - remove redundant NULL check



release_firmware() checks whether firmware pointer is NULL. Remove the redundant NULL check in release_tar_archive().

Signed-off-by: default avatarYushan Zhou <katrinzhou@tencent.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 5b11d1a3
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -345,7 +345,6 @@ static void release_tar_archive(struct tar_arch_info_t *tar_arch)
		kfree(curr);
	}

	if (tar_arch->fw)
	release_firmware(tar_arch->fw);
	kfree(tar_arch);
}