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
test: add devargs test cases
[dpdk.git]
/
drivers
/
compress
/
zlib
/
zlib_pmd.c
diff --git
a/drivers/compress/zlib/zlib_pmd.c
b/drivers/compress/zlib/zlib_pmd.c
index
19f9200
..
0220c6d
100644
(file)
--- a/
drivers/compress/zlib/zlib_pmd.c
+++ b/
drivers/compress/zlib/zlib_pmd.c
@@
-426,10
+426,4
@@
static struct rte_vdev_driver zlib_pmd_drv = {
};
RTE_PMD_REGISTER_VDEV(COMPRESSDEV_NAME_ZLIB_PMD, zlib_pmd_drv);
};
RTE_PMD_REGISTER_VDEV(COMPRESSDEV_NAME_ZLIB_PMD, zlib_pmd_drv);
-
-RTE_INIT(zlib_init_log)
-{
- zlib_logtype_driver = rte_log_register("pmd.compress.zlib");
- if (zlib_logtype_driver >= 0)
- rte_log_set_level(zlib_logtype_driver, RTE_LOG_INFO);
-}
+RTE_LOG_REGISTER_DEFAULT(zlib_logtype_driver, INFO);