summaryrefslogtreecommitdiff
path: root/drivers/crypto/scheduler/rte_cryptodev_scheduler.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/crypto/scheduler/rte_cryptodev_scheduler.c')
-rw-r--r--drivers/crypto/scheduler/rte_cryptodev_scheduler.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/crypto/scheduler/rte_cryptodev_scheduler.c b/drivers/crypto/scheduler/rte_cryptodev_scheduler.c
index 4fdb111..6e4919c 100644
--- a/drivers/crypto/scheduler/rte_cryptodev_scheduler.c
+++ b/drivers/crypto/scheduler/rte_cryptodev_scheduler.c
@@ -578,10 +578,7 @@ rte_cryptodev_scheduler_option_get(uint8_t scheduler_id,
return (*sched_ctx->ops.option_get)(dev, option_type, option);
}
-RTE_INIT(scheduler_init_log);
-
-static void
-scheduler_init_log(void)
+RTE_INIT(scheduler_init_log)
{
scheduler_logtype_driver = rte_log_register("pmd.crypto.scheduler");
}