Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: Yushan Zhou <katrinzhou@tencent.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Yushan Zhou and committed by
Herbert Xu
bd71e0dc 5b11d1a3

+1 -2
+1 -2
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c
··· 345 345 kfree(curr); 346 346 } 347 347 348 - if (tar_arch->fw) 349 - release_firmware(tar_arch->fw); 348 + release_firmware(tar_arch->fw); 350 349 kfree(tar_arch); 351 350 } 352 351