[9/9] raw/dpaa2_cmif: remove redundant rte_vdev_driver declaration
diff mbox series

Message ID 20190711200309.6134-10-stephen@networkplumber.org
State Accepted, archived
Delegated to: Ferruh Yigit
Headers show
  • redundant rte_vdev_driver declarations
Related show


Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Stephen Hemminger July 11, 2019, 8:03 p.m. UTC
The rte_vdev_driver is declared twice.
The first one is not necessary.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
 drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 3 ---
 1 file changed, 3 deletions(-)

diff mbox series

diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c
index 05960cca95ed..3f42da1fed61 100644
--- a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c
+++ b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c
@@ -26,9 +26,6 @@  int dpaa2_cmdif_logtype;
 /* CMDIF driver name */
 #define DPAA2_CMDIF_PMD_NAME dpaa2_dpci
-/* CMDIF driver object */
-static struct rte_vdev_driver dpaa2_cmdif_drv;
  * This API provides the DPCI device ID in 'attr_value'.
  * The device ID shall be passed by GPP to the AIOP using CMDIF commands.