From e17697abd31251be4257d71cfadbf0e847b93bb1 Mon Sep 17 00:00:00 2001 From: Rami Rosen Date: Wed, 23 Jan 2019 19:29:48 +0200 Subject: [PATCH] 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 Reviewed-by: Maxime Coquelin --- drivers/net/virtio/virtio_ethdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c index 7c2fe76f34..846983a017 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( -- 2.20.1