git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/mlx5: support reading device clock
[dpdk.git]
/
lib
/
librte_rcu
/
rte_rcu_qsbr.c
diff --git
a/lib/librte_rcu/rte_rcu_qsbr.c
b/lib/librte_rcu/rte_rcu_qsbr.c
index
6a429d8
..
aebfdb0
100644
(file)
--- a/
lib/librte_rcu/rte_rcu_qsbr.c
+++ b/
lib/librte_rcu/rte_rcu_qsbr.c
@@
-495,11
+495,4
@@
rte_rcu_qsbr_dq_delete(struct rte_rcu_qsbr_dq *dq)
return 0;
}
return 0;
}
-int rte_rcu_log_type;
-
-RTE_INIT(rte_rcu_register)
-{
- rte_rcu_log_type = rte_log_register("lib.rcu");
- if (rte_rcu_log_type >= 0)
- rte_log_set_level(rte_rcu_log_type, RTE_LOG_ERR);
-}
+RTE_LOG_REGISTER(rte_rcu_log_type, lib.rcu, ERR);