From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rami Rosen Subject: [PATCH] net/virtio: remove unnecessary forward declaration Date: Wed, 23 Jan 2019 19:29:48 +0200 Message-ID: <20190123172948.4016-1-ramirose@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: stable@dpdk.org, maxime.coquelin@redhat.com, tiwei.bie@intel.com, zhihong.wang@intel.com, Rami Rosen To: dev@dpdk.org Return-path: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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@dpdk.org Signed-off-by: Rami Rosen --- 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