From: Rami Rosen Date: Wed, 23 Jan 2019 17:29:48 +0000 (+0200) Subject: net/virtio: remove forward declaration X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e17697abd31251be4257d71cfadbf0e847b93bb1;p=dpdk.git 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 --- 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(