[dpdk-stable] [PATCH] net/virtio: remove unnecessary forward declaration
Rami Rosen
ramirose at gmail.com
Wed Jan 23 18:29:48 CET 2019
This minor cleanup patch removes an unecessary forward
declaration of virtio_intr_enable() in net/virtio PMD.
Fixes: fe19d49cb525 ("net/virtio: fix Rx interrupt with VFIO")
Cc: stable at dpdk.org
Signed-off-by: Rami Rosen <ramirose at gmail.com>
---
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 ee5a98b..d8fd288 100644
--- a/drivers/net/virtio/virtio_ethdev.c
+++ b/drivers/net/virtio/virtio_ethdev.c
@@ -71,7 +71,6 @@ static int virtio_mac_addr_add(struct rte_eth_dev *dev,
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(
--
1.8.3.1
More information about the stable
mailing list