The driver has macro and logtype but not used in a couple places.

Fixes: af7c9b5e9ce7 ("crypto/caam_jr: introduce basic driver")
Signed-off-by: Stephen Hemminger <step...@networkplumber.org>
---
 drivers/crypto/caam_jr/caam_jr.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/crypto/caam_jr/caam_jr.c b/drivers/crypto/caam_jr/caam_jr.c
index 9c96fd21a48d..a6c0cdc93135 100644
--- a/drivers/crypto/caam_jr/caam_jr.c
+++ b/drivers/crypto/caam_jr/caam_jr.c
@@ -2346,7 +2346,7 @@ caam_jr_dev_init(const char *name,
 
        rte_cryptodev_pmd_probing_finish(dev);
 
-       RTE_LOG(INFO, PMD, "%s cryptodev init\n", dev->data->name);
+       CAAM_JR_LOG(INFO, "%s cryptodev init", dev->data->name);
 
        return 0;
 
@@ -2386,8 +2386,7 @@ cryptodev_caam_jr_probe(struct rte_vdev_device *vdev)
 
        ret = of_init();
        if (ret) {
-               RTE_LOG(ERR, PMD,
-               "of_init failed\n");
+               CAAM_JR_LOG(ERR, "of_init failed");
                return -EINVAL;
        }
        /* if sec device version is not configured */
-- 
2.43.0

Reply via email to