From: Stephen Hemminger Date: Thu, 11 Jul 2019 20:03:09 +0000 (-0700) Subject: raw/dpaa2_cmdif: remove redundant declaration X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9d69e0bbddc1678b7afaf9cd7386eaef1df64fc6;p=dpdk.git raw/dpaa2_cmdif: remove redundant declaration The rte_vdev_driver is declared twice. The first one is not necessary. Fixes: 3298fa4853b8 ("raw/dpaa2_cmdif: introduce DPAA2 command interface driver") Cc: stable@dpdk.org Signed-off-by: Stephen Hemminger Reviewed-by: Ferruh Yigit --- diff --git a/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c b/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c index 05960cca95..3f42da1fed 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.