summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorAhsan Atta <ahsan.atta@intel.com>2026-10-01 13:28:41 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2026-10-08 18:48:07 +1100
commitc01d396a91e4ce0e8a5017dcc7207cdca0e756bd (patch)
tree3fb35a0b950465d437ca6e032fe2f1e41eb74e52 /scripts/cleanpatch
parent7d91d0ae0cd94db834a6edafc1ab92e77f812154 (diff)
crypto: qat - remove unused get_num_accels()
The get_num_accels() hook in struct adf_hw_device_data has had no callers since commit d237230728c5 ("crypto: qat - remove unused character device and IOCTLs"), which deleted its last user in adf_ctl_drv.c. Every device driver still populates it and two implementations are still exported, all of it dead code. Remove the hook, its generation-level implementations adf_gen2_get_num_accels() and adf_gen4_get_num_accels(), the per-device static implementations and all the assignments. The hw_data->num_accel field is left untouched as it is still used. Signed-off-by: Ahsan Atta <ahsan.atta@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions