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

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
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment