diff mbox series

crypto: qat - do not export adf_init_admin_pm()

Message ID 20230609194246.12724-1-giovanni.cabiddu@intel.com
State Accepted
Commit d614dcb225a8af349b73b8e9bbda4374571d4b9e
Headers show
Series crypto: qat - do not export adf_init_admin_pm() | expand

Commit Message

Cabiddu, Giovanni June 9, 2023, 7:42 p.m. UTC
The function adf_init_admin_pm() is not used outside of the intel_qat
module.
Do not export it.

Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Damian Muszynski <damian.muszynski@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/crypto/intel/qat/qat_common/adf_admin.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Herbert Xu June 16, 2023, 12:35 p.m. UTC | #1
On Fri, Jun 09, 2023 at 08:42:46PM +0100, Giovanni Cabiddu wrote:
> The function adf_init_admin_pm() is not used outside of the intel_qat
> module.
> Do not export it.
> 
> Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
> Reviewed-by: Damian Muszynski <damian.muszynski@intel.com>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  drivers/crypto/intel/qat/qat_common/adf_admin.c | 1 -
>  1 file changed, 1 deletion(-)

Patch applied.  Thanks.
diff mbox series

Patch

diff --git a/drivers/crypto/intel/qat/qat_common/adf_admin.c b/drivers/crypto/intel/qat/qat_common/adf_admin.c
index 3b6184c35081..118775ee02f2 100644
--- a/drivers/crypto/intel/qat/qat_common/adf_admin.c
+++ b/drivers/crypto/intel/qat/qat_common/adf_admin.c
@@ -286,7 +286,6 @@  int adf_init_admin_pm(struct adf_accel_dev *accel_dev, u32 idle_delay)
 
 	return adf_send_admin(accel_dev, &req, &resp, ae_mask);
 }
-EXPORT_SYMBOL_GPL(adf_init_admin_pm);
 
 int adf_init_admin_comms(struct adf_accel_dev *accel_dev)
 {