summaryrefslogtreecommitdiff
path: root/drivers/net/virtio/virtio_ethdev.c
diff options
context:
space:
mode:
authorRami Rosen <ramirose@gmail.com>2019-01-23 19:29:48 +0200
committerFerruh Yigit <ferruh.yigit@intel.com>2019-02-08 19:27:07 +0100
commite17697abd31251be4257d71cfadbf0e847b93bb1 (patch)
tree85ee5b488b6d8ffafca0c2b11bbffa84b1289345 /drivers/net/virtio/virtio_ethdev.c
parentb1721295834b4da3e683e87ec5823b355624ebe2 (diff)
downloaddpdk-next-eventdev-e17697abd31251be4257d71cfadbf0e847b93bb1.zip
dpdk-next-eventdev-e17697abd31251be4257d71cfadbf0e847b93bb1.tar.gz
dpdk-next-eventdev-e17697abd31251be4257d71cfadbf0e847b93bb1.tar.xz
net/virtio: remove forward declaration
This minor cleanup patch removes an unnecessary forward declaration of virtio_intr_enable() in net/virtio PMD. Fixes: fe19d49cb525 ("net/virtio: fix Rx interrupt with VFIO") Cc: stable@dpdk.org Signed-off-by: Rami Rosen <ramirose@gmail.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Diffstat (limited to 'drivers/net/virtio/virtio_ethdev.c')
-rw-r--r--drivers/net/virtio/virtio_ethdev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c
index 7c2fe76..846983a 100644
--- a/drivers/net/virtio/virtio_ethdev.c
+++ b/drivers/net/virtio/virtio_ethdev.c
@@ -71,7 +71,6 @@ static void virtio_mac_addr_remove(struct rte_eth_dev *dev, uint32_t index);
static int virtio_mac_addr_set(struct rte_eth_dev *dev,
struct ether_addr *mac_addr);
-static int virtio_intr_enable(struct rte_eth_dev *dev);
static int virtio_intr_disable(struct rte_eth_dev *dev);
static int virtio_dev_queue_stats_mapping_set(