From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [PATCH] net/virtio: remove unnecessary forward declaration Date: Fri, 8 Feb 2019 18:34:54 +0100 Message-ID: <0b17f3ce-456e-c3dd-35f0-574109cf42b8@redhat.com> References: <20190123172948.4016-1-ramirose@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@dpdk.org, tiwei.bie@intel.com, zhihong.wang@intel.com To: Rami Rosen , dev@dpdk.org Return-path: In-Reply-To: <20190123172948.4016-1-ramirose@gmail.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 1/23/19 6:29 PM, Rami Rosen wrote: > This minor cleanup patch removes an unecessary forward s/unecessary/unnecessary/ > 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( > Reviewed-by: Maxime Coquelin I'll fix the typo while applying. Thanks, Maxime