From: Hemant Agrawal Date: Wed, 24 Apr 2019 11:45:20 +0000 (+0530) Subject: raw/dpaa2_cmdif: remove driver name assignment X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=5ca606ea484546c733bb04f301283b1ffef8922c;p=dpdk.git raw/dpaa2_cmdif: remove driver name assignment vdev driver names are not available in create if called from probe. Signed-off-by: Shreyansh Jain Signed-off-by: Hemant Agrawal --- diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c index da3c7d7a64..05960cca95 100644 --- a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c +++ b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c @@ -207,7 +207,6 @@ dpaa2_cmdif_create(const char *name, rawdev->dev_ops = &dpaa2_cmdif_ops; rawdev->device = &vdev->device; - rawdev->driver_name = vdev->device.driver->name; /* For secondary processes, the primary has done all the work */ if (rte_eal_process_type() != RTE_PROC_PRIMARY) diff --git a/drivers/raw/skeleton_rawdev/skeleton_rawdev.c b/drivers/raw/skeleton_rawdev/skeleton_rawdev.c index 63f2b9a092..709be7691a 100644 --- a/drivers/raw/skeleton_rawdev/skeleton_rawdev.c +++ b/drivers/raw/skeleton_rawdev/skeleton_rawdev.c @@ -585,7 +585,6 @@ skeleton_rawdev_create(const char *name, rawdev->dev_ops = &skeleton_rawdev_ops; rawdev->device = &vdev->device; - rawdev->driver_name = vdev->device.driver->name; skeldev = skeleton_rawdev_get_priv(rawdev);