summaryrefslogtreecommitdiff
path: root/drivers/crypto/virtio/virtio_cryptodev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/crypto/virtio/virtio_cryptodev.c')
-rw-r--r--drivers/crypto/virtio/virtio_cryptodev.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/crypto/virtio/virtio_cryptodev.c b/drivers/crypto/virtio/virtio_cryptodev.c
index 5cadfcb..cc7a0b1 100644
--- a/drivers/crypto/virtio/virtio_cryptodev.c
+++ b/drivers/crypto/virtio/virtio_cryptodev.c
@@ -1475,9 +1475,7 @@ RTE_PMD_REGISTER_CRYPTO_DRIVER(virtio_crypto_drv,
rte_virtio_crypto_driver.driver,
cryptodev_virtio_driver_id);
-RTE_INIT(virtio_crypto_init_log);
-static void
-virtio_crypto_init_log(void)
+RTE_INIT(virtio_crypto_init_log)
{
virtio_crypto_logtype_init = rte_log_register("pmd.crypto.virtio.init");
if (virtio_crypto_logtype_init >= 0)