From: Stephen Hemminger Date: Thu, 11 Jul 2019 20:03:08 +0000 (-0700) Subject: raw/skeleton: remove redundant declaration X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9058047a53e1920697ecbadf52a832d743d01ad1;p=dpdk.git raw/skeleton: remove redundant declaration The rte_vdev_driver is declared twice. The first one is not necessary. Fixes: 61c592a8d035 ("raw/skeleton: introduce skeleton rawdev driver") Cc: stable@dpdk.org Signed-off-by: Stephen Hemminger Reviewed-by: Ferruh Yigit --- diff --git a/drivers/raw/skeleton_rawdev/skeleton_rawdev.c b/drivers/raw/skeleton_rawdev/skeleton_rawdev.c index 42471fbd11..586183a5b8 100644 --- a/drivers/raw/skeleton_rawdev/skeleton_rawdev.c +++ b/drivers/raw/skeleton_rawdev/skeleton_rawdev.c @@ -37,9 +37,6 @@ static uint16_t skeldev_init_once; /**< Rawdev Skeleton dummy driver name */ #define SKELETON_PMD_RAWDEV_NAME rawdev_skeleton -/**< Skeleton rawdev driver object */ -static struct rte_vdev_driver skeleton_pmd_drv; - struct queue_buffers { void *bufs[SKELETON_QUEUE_MAX_DEPTH]; };