# \[PATCH AUTOSEL 5.14 34/47\] crypto: qat - do not export adf\_iov\_putmsg()

- Subsystems: CRYPTO API, THE REST
- Maintainers: Herbert Xu, David S. Miller, Linus Torvalds
- Status: REVIEWED · 1 review, 0 by maintainers (Fiona Trahe)
- Reviewed.
- 1 review trailer.
- List: linux-crypto
- 1 message, 1 author
- Page: https://ratatoskr.run/linux-crypto/2021/09/1497776/t

## \[PATCH AUTOSEL 5.14 34/47\] crypto: qat - do not export adf\_iov\_putmsg()

- From: Sasha Levin \<sashal@kernel.org\>
- Date: 2021-09-06 01:21:55 
- Message: https://ratatoskr.run/linux-crypto/2021/09/1497776.md

```text
From: Giovanni Cabiddu <giovanni.cabiddu@intel.com>

[ Upstream commit 645ae0af1840199086c33e4f841892ebee73f615 ]

The function adf_iov_putmsg() is only used inside the intel_qat module
therefore should not be exported.
Remove EXPORT_SYMBOL for the function adf_iov_putmsg().

Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Fiona Trahe <redacted>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 drivers/crypto/qat/qat_common/adf_pf2vf_msg.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/crypto/qat/qat_common/adf_pf2vf_msg.c b/drivers/crypto/qat/qat_common/adf_pf2vf_msg.c
index 663638bb5c97..efa4bffb4f60 100644
--- a/drivers/crypto/qat/qat_common/adf_pf2vf_msg.c
+++ b/drivers/crypto/qat/qat_common/adf_pf2vf_msg.c
@@ -186,7 +186,6 @@ int adf_iov_putmsg(struct adf_accel_dev *accel_dev, u32 msg, u8 vf_nr)
 
 	return ret;
 }
-EXPORT_SYMBOL_GPL(adf_iov_putmsg);
 
 void adf_vf2pf_req_hndl(struct adf_accel_vf_info *vf_info)
 {
-- 
2.30.2

```
