[v1,2/2] vhost: remove unused variable
Checks
Commit Message
VHOST_FEATURES has been removed in previous refactor.
Fixes: 0917f9d1f059 ("vhost: use new APIs to handle features")
Cc: stable@dpdk.org
Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com>
---
lib/librte_vhost/vhost.h | 1 -
1 file changed, 1 deletion(-)
Comments
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@dpdk.org
>
> Signed-off-by: Xiaolong Ye <xiaolong.ye@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@redhat.com>
Thanks,
Maxime
@@ -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];