raw/dpaa2_cmdif: remove driver name assignment
authorHemant Agrawal <hemant.agrawal@nxp.com>
Wed, 24 Apr 2019 11:45:20 +0000 (17:15 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 2 May 2019 21:31:32 +0000 (23:31 +0200)
vdev driver names are not available in create if called from probe.

Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c
drivers/raw/skeleton_rawdev/skeleton_rawdev.c

index da3c7d7..05960cc 100644 (file)
@@ -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)
index 63f2b9a..709be76 100644 (file)
@@ -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);