summaryrefslogtreecommitdiff
path: root/drivers/net/ring
diff options
context:
space:
mode:
authorPablo de Lara <pablo.de.lara.guarch@intel.com>2016-07-09 02:06:11 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-07-10 14:51:09 +0200
commitbae696ebd4e28b31ebe57367f5e11270232ecd26 (patch)
tree88b70e9a28fb0d2de7d15e2d18b13e98580277b9 /drivers/net/ring
parent1586ff4cefa050911ce73e1ae1291272654898a8 (diff)
downloaddpdk-next-eventdev-bae696ebd4e28b31ebe57367f5e11270232ecd26.zip
dpdk-next-eventdev-bae696ebd4e28b31ebe57367f5e11270232ecd26.tar.gz
dpdk-next-eventdev-bae696ebd4e28b31ebe57367f5e11270232ecd26.tar.xz
drivers: remove static driver names
Since now the PMD_REGISTER_DRIVER macro sets the driver names, there is no need to have the rte_driver structure setting it statically, as it will get overridden. Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Neil Horman <nhorman@tuxdriver.com>
Diffstat (limited to 'drivers/net/ring')
-rw-r--r--drivers/net/ring/rte_eth_ring.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ring/rte_eth_ring.c b/drivers/net/ring/rte_eth_ring.c
index f2f5217..dee5038 100644
--- a/drivers/net/ring/rte_eth_ring.c
+++ b/drivers/net/ring/rte_eth_ring.c
@@ -624,7 +624,6 @@ rte_pmd_ring_devuninit(const char *name)
}
static struct rte_driver pmd_ring_drv = {
- .name = "eth_ring",
.type = PMD_VDEV,
.init = rte_pmd_ring_devinit,
.uninit = rte_pmd_ring_devuninit,