[RFC 02/10] common/qat: remove weak symbols
David Marchand
david.marchand at redhat.com
Fri Feb 7 09:32:42 CET 2025
Remove dead code, those symbols are never used as the "strong" symbols
are always linked in.
Signed-off-by: David Marchand <david.marchand at redhat.com>
---
drivers/common/qat/qat_qp.c | 8 --------
drivers/common/qat/qat_qp.h | 5 -----
2 files changed, 13 deletions(-)
diff --git a/drivers/common/qat/qat_qp.c b/drivers/common/qat/qat_qp.c
index 4bf9bac23e..0d2bbdb8a5 100644
--- a/drivers/common/qat/qat_qp.c
+++ b/drivers/common/qat/qat_qp.c
@@ -944,11 +944,3 @@ qat_cq_get_fw_cipher_crc_cap(struct qat_qp *qp)
return ret;
}
#endif
-
-__rte_weak int
-qat_comp_process_response(void **op __rte_unused, uint8_t *resp __rte_unused,
- void *op_cookie __rte_unused,
- uint64_t *dequeue_err_count __rte_unused)
-{
- return 0;
-}
diff --git a/drivers/common/qat/qat_qp.h b/drivers/common/qat/qat_qp.h
index f0ea907503..5ccaedefa7 100644
--- a/drivers/common/qat/qat_qp.h
+++ b/drivers/common/qat/qat_qp.h
@@ -156,11 +156,6 @@ int
qat_cq_get_fw_cipher_crc_cap(struct qat_qp *qp);
#endif
-/* Needed for weak function*/
-int
-qat_comp_process_response(void **op __rte_unused, uint8_t *resp __rte_unused,
- void *op_cookie __rte_unused,
- uint64_t *dequeue_err_count __rte_unused);
int
qat_read_qp_config(struct qat_pci_device *qat_dev);
--
2.48.1
More information about the dev
mailing list