doc: announce dpaa-specific API parameter change
[dpdk.git] / drivers / compress / isal / isal_compress_pmd.c
index 7d2b05c..0ecca12 100644 (file)
@@ -25,8 +25,6 @@
 #define ISAL_VERSION_STRING \
        ISAL_TOSTRING(ISAL_MAJOR_VERSION, ISAL_MINOR_VERSION, ISAL_PATCH_VERSION)
 
-int isal_logtype_driver;
-
 /* Verify and set private xform parameters */
 int
 isal_comp_set_priv_xform_parameters(struct isal_priv_xform *priv_xform,
@@ -752,10 +750,4 @@ static struct rte_vdev_driver compdev_isal_pmd_drv = {
 RTE_PMD_REGISTER_VDEV(COMPDEV_NAME_ISAL_PMD, compdev_isal_pmd_drv);
 RTE_PMD_REGISTER_PARAM_STRING(COMPDEV_NAME_ISAL_PMD,
        "socket_id=<int>");
-
-RTE_INIT(isal_init_log)
-{
-       isal_logtype_driver = rte_log_register("pmd.compress.isal");
-       if (isal_logtype_driver >= 0)
-               rte_log_set_level(isal_logtype_driver, RTE_LOG_INFO);
-}
+RTE_LOG_REGISTER(isal_logtype_driver, pmd.compress.isal, INFO);