]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: qat - remove redundant FW image size check
authorJack Xu <jack.xu@intel.com>
Fri, 14 Mar 2025 12:57:53 +0000 (12:57 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Mar 2025 09:33:39 +0000 (17:33 +0800)
commit0d5cb730b59ba23d6472b8b1eacd351e7bc48c2b
tree0d3dbec447f7a4a7ca531bc2a04aeff701c1699c
parentbd2c6e0e0616ae10eaf73f34223680ae406c5d42
crypto: qat - remove redundant FW image size check

The FW image size check is already performed in the function
qat_uclo_check_image() before calling `qat_uclo_map_auth_fw()`.
Therefore, the additional check in `qat_uclo_map_auth_fw()` is redundant
and can be safely removed.

Signed-off-by: Jack Xu <jack.xu@intel.com>
Reviewed-by: Ahsan Atta <ahsan.atta@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/intel/qat/qat_common/qat_uclo.c