summaryrefslogtreecommitdiff
path: root/drivers/crypto/zuc/rte_zuc_pmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/crypto/zuc/rte_zuc_pmd.c')
-rw-r--r--drivers/crypto/zuc/rte_zuc_pmd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/crypto/zuc/rte_zuc_pmd.c b/drivers/crypto/zuc/rte_zuc_pmd.c
index 74cf498..313f459 100644
--- a/drivers/crypto/zuc/rte_zuc_pmd.c
+++ b/drivers/crypto/zuc/rte_zuc_pmd.c
@@ -542,9 +542,7 @@ RTE_PMD_REGISTER_PARAM_STRING(CRYPTODEV_NAME_ZUC_PMD,
RTE_PMD_REGISTER_CRYPTO_DRIVER(zuc_crypto_drv, cryptodev_zuc_pmd_drv.driver,
cryptodev_driver_id);
-RTE_INIT(zuc_init_log);
-static void
-zuc_init_log(void)
+RTE_INIT(zuc_init_log)
{
zuc_logtype_driver = rte_log_register("pmd.crypto.zuc");
}