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: qat - remove unused adf_devmgr_get_first

adf_devmgr_get_first has been unused since commit
4a4b0bad0653 ("crypto: qat - fix crypto_get_instance_node function")

Remove it.

(Build tested only, I don't own the hardware)

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Acked-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Dr. David Alan Gilbert and committed by
Herbert Xu
4fbc1338 475b5098

-11
-1
drivers/crypto/intel/qat/qat_common/adf_common_drv.h
··· 69 69 struct adf_accel_dev *pf); 70 70 struct list_head *adf_devmgr_get_head(void); 71 71 struct adf_accel_dev *adf_devmgr_get_dev_by_id(u32 id); 72 - struct adf_accel_dev *adf_devmgr_get_first(void); 73 72 struct adf_accel_dev *adf_devmgr_pci_to_accel_dev(struct pci_dev *pci_dev); 74 73 int adf_devmgr_verify_id(u32 id); 75 74 void adf_devmgr_get_num_dev(u32 *num);
-10
drivers/crypto/intel/qat/qat_common/adf_dev_mgr.c
··· 276 276 } 277 277 EXPORT_SYMBOL_GPL(adf_devmgr_rm_dev); 278 278 279 - struct adf_accel_dev *adf_devmgr_get_first(void) 280 - { 281 - struct adf_accel_dev *dev = NULL; 282 - 283 - if (!list_empty(&accel_table)) 284 - dev = list_first_entry(&accel_table, struct adf_accel_dev, 285 - list); 286 - return dev; 287 - } 288 - 289 279 /** 290 280 * adf_devmgr_pci_to_accel_dev() - Get accel_dev associated with the pci_dev. 291 281 * @pci_dev: Pointer to PCI device.