[dpdk-dev] [PATCH v1 2/2] vhost: remove unused variable

Maxime Coquelin maxime.coquelin at redhat.com
Thu Apr 9 16:21:05 CEST 2020



On 3/7/20 2:22 PM, Xiaolong Ye wrote:
> VHOST_FEATURES has been removed in previous refactor.
> 
> Fixes: 0917f9d1f059 ("vhost: use new APIs to handle features")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Xiaolong Ye <xiaolong.ye at intel.com>
> ---
>  lib/librte_vhost/vhost.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h
> index 2087d1400..507dbf214 100644
> --- a/lib/librte_vhost/vhost.h
> +++ b/lib/librte_vhost/vhost.h
> @@ -543,7 +543,6 @@ extern int vhost_data_log_level;
>  #define PRINT_PACKET(device, addr, size, header) do {} while (0)
>  #endif
>  
> -extern uint64_t VHOST_FEATURES;
>  #define MAX_VHOST_DEVICE	1024
>  extern struct virtio_net *vhost_devices[MAX_VHOST_DEVICE];
>  
> 


Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the dev mailing list