crypto: marvell/octeontx - remove redundant NULL check
authorYushan Zhou <katrinzhou@tencent.com>
Tue, 22 Nov 2022 07:49:00 +0000 (15:49 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Dec 2022 10:12:39 +0000 (18:12 +0800)
commitbd71e0dced921e00599052b445f9a9f7916a5452
tree77aa9035932ecc7892ee34f74fefded1e3f133bd
parent5b11d1a360ea23c80c6d4ec3f5986a788d0a0995
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>
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c