common/mlx5: fix default devargs initialization
[dpdk.git] / drivers / crypto / nitrox / nitrox_logs.c
index 007056c..0e0a946 100644 (file)
@@ -4,11 +4,4 @@
 
 #include <rte_log.h>
 
-int nitrox_logtype;
-
-RTE_INIT(nitrox_init_log)
-{
-       nitrox_logtype = rte_log_register("pmd.crypto.nitrox");
-       if (nitrox_logtype >= 0)
-               rte_log_set_level(nitrox_logtype, RTE_LOG_NOTICE);
-}
+RTE_LOG_REGISTER_DEFAULT(nitrox_logtype, NOTICE);