From 9058047a53e1920697ecbadf52a832d743d01ad1 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Thu, 11 Jul 2019 13:03:08 -0700 Subject: [PATCH] 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 --- drivers/raw/skeleton_rawdev/skeleton_rawdev.c | 3 --- 1 file changed, 3 deletions(-) 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]; }; -- 2.20.1