summaryrefslogtreecommitdiff
path: root/drivers/crypto/null/null_crypto_pmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/crypto/null/null_crypto_pmd.c')
-rw-r--r--drivers/crypto/null/null_crypto_pmd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/crypto/null/null_crypto_pmd.c b/drivers/crypto/null/null_crypto_pmd.c
index fca8e35..6e29a21 100644
--- a/drivers/crypto/null/null_crypto_pmd.c
+++ b/drivers/crypto/null/null_crypto_pmd.c
@@ -247,9 +247,7 @@ RTE_PMD_REGISTER_PARAM_STRING(CRYPTODEV_NAME_NULL_PMD,
RTE_PMD_REGISTER_CRYPTO_DRIVER(null_crypto_drv, cryptodev_null_pmd_drv.driver,
cryptodev_driver_id);
-RTE_INIT(null_init_log);
-static void
-null_init_log(void)
+RTE_INIT(null_init_log)
{
null_logtype_driver = rte_log_register("pmd.crypto.null");
}