Re: [PATCH 2/6] vhost_net: get rid of vhost_net_flush_vq() and extra flush calls

From: Andrey Ryabinin
Date: Fri Nov 19 2021 - 05:30:24 EST




On 11/16/21 5:33 PM, Stefano Garzarella wrote:
> On Mon, Nov 15, 2021 at 06:29:59PM +0300, Andrey Ryabinin wrote:

>> diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h
>> index 638bb640d6b4..ecbaa5c6005f 100644
>> --- a/drivers/vhost/vhost.h
>> +++ b/drivers/vhost/vhost.h
>> @@ -15,6 +15,7 @@
>> #include <linux/vhost_iotlb.h>
>> #include <linux/irqbypass.h>
>>
>> +struct vhost_dev;
>
> Is this change needed?
>

Looks like not. Will remove.