Message ID | 20190711200309.6134-5-stephen@networkplumber.org |
---|---|
State | Accepted, archived |
Delegated to: | Ferruh Yigit |
Headers | show |
Series |
|
Related | show |
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
ci/Intel-compilation | success | Compilation OK |
diff --git a/drivers/net/null/rte_eth_null.c b/drivers/net/null/rte_eth_null.c index f1b521a7564a..31cbb84d031d 100644 --- a/drivers/net/null/rte_eth_null.c +++ b/drivers/net/null/rte_eth_null.c @@ -490,8 +490,6 @@ static const struct eth_dev_ops ops = { .rss_hash_conf_get = eth_rss_hash_conf_get }; -static struct rte_vdev_driver pmd_null_drv; - static int eth_dev_null_create(struct rte_vdev_device *dev, unsigned packet_size,
The rte_vdev_driver is declared twice. The first one is not necessary. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> --- drivers/net/null/rte_eth_null.c | 2 -- 1 file changed, 2 deletions(-)