2023-06-09 19:51:18

by Cabiddu, Giovanni

[permalink] [raw]
Subject: [PATCH] crypto: qat - do not export adf_init_admin_pm()

The function adf_init_admin_pm() is not used outside of the intel_qat
module.
Do not export it.

Signed-off-by: Giovanni Cabiddu <[email protected]>
Reviewed-by: Damian Muszynski <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
---
drivers/crypto/intel/qat/qat_common/adf_admin.c | 1 -
1 file changed, 1 deletion(-)

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)
{
--
2.40.1



2023-06-16 12:44:48

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH] crypto: qat - do not export adf_init_admin_pm()

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 <[email protected]>
> Reviewed-by: Damian Muszynski <[email protected]>
> Reviewed-by: Andy Shevchenko <[email protected]>
> ---
> drivers/crypto/intel/qat/qat_common/adf_admin.c | 1 -
> 1 file changed, 1 deletion(-)

Patch applied. Thanks.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt