net/sfc: check mbufs allocated using mempool API for Rx
[dpdk.git] / drivers / crypto / null / null_crypto_pmd.c
index fca8e35..6e29a21 100644 (file)
@@ -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");
 }