diff mbox series

[-next] crypto: qat - Remove unused function declarations

Message ID 20230809031614.9704-1-yuehaibing@huawei.com
State Accepted
Commit d94e0f25deefda953ac348a244189cf358b8bd3e
Headers show
Series [-next] crypto: qat - Remove unused function declarations | expand

Commit Message

Yue Haibing Aug. 9, 2023, 3:16 a.m. UTC
Commit d8cba25d2c68 ("crypto: qat - Intel(R) QAT driver framework")
declared but never implemented these functions.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 drivers/crypto/intel/qat/qat_common/adf_common_drv.h | 8 --------
 1 file changed, 8 deletions(-)

Comments

Cabiddu, Giovanni Aug. 15, 2023, 4:04 p.m. UTC | #1
On Wed, Aug 09, 2023 at 11:16:14AM +0800, Yue Haibing wrote:
> Commit d8cba25d2c68 ("crypto: qat - Intel(R) QAT driver framework")
> declared but never implemented these functions.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Acked-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>

Regards,
Herbert Xu Aug. 18, 2023, 9:30 a.m. UTC | #2
On Wed, Aug 09, 2023 at 11:16:14AM +0800, Yue Haibing wrote:
> Commit d8cba25d2c68 ("crypto: qat - Intel(R) QAT driver framework")
> declared but never implemented these functions.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  drivers/crypto/intel/qat/qat_common/adf_common_drv.h | 8 --------
>  1 file changed, 8 deletions(-)

Patch applied.  Thanks.
diff mbox series

Patch

diff --git a/drivers/crypto/intel/qat/qat_common/adf_common_drv.h b/drivers/crypto/intel/qat/qat_common/adf_common_drv.h
index 799a2193d3e5..673b5044c62a 100644
--- a/drivers/crypto/intel/qat/qat_common/adf_common_drv.h
+++ b/drivers/crypto/intel/qat/qat_common/adf_common_drv.h
@@ -58,12 +58,6 @@  int adf_dev_restart(struct adf_accel_dev *accel_dev);
 
 void adf_devmgr_update_class_index(struct adf_hw_device_data *hw_data);
 void adf_clean_vf_map(bool);
-
-int adf_ctl_dev_register(void);
-void adf_ctl_dev_unregister(void);
-int adf_processes_dev_register(void);
-void adf_processes_dev_unregister(void);
-
 int adf_devmgr_add_dev(struct adf_accel_dev *accel_dev,
 		       struct adf_accel_dev *pf);
 void adf_devmgr_rm_dev(struct adf_accel_dev *accel_dev,
@@ -182,8 +176,6 @@  int qat_hal_init_rd_xfer(struct icp_qat_fw_loader_handle *handle,
 int qat_hal_init_nn(struct icp_qat_fw_loader_handle *handle,
 		    unsigned char ae, unsigned long ctx_mask,
 		    unsigned short reg_num, unsigned int regdata);
-int qat_hal_wr_lm(struct icp_qat_fw_loader_handle *handle,
-		  unsigned char ae, unsigned short lm_addr, unsigned int value);
 void qat_hal_set_ae_tindex_mode(struct icp_qat_fw_loader_handle *handle,
 				unsigned char ae, unsigned char mode);
 int qat_uclo_wr_all_uimage(struct icp_qat_fw_loader_handle *handle);