> -----Original Message-----
> From: Morrissey, Sean <sean.morris...@intel.com>
> Sent: Saturday, June 18, 2022 3:09 AM
> To: Maxime Coquelin <maxime.coque...@redhat.com>; Xia, Chenbo
> <chenbo....@intel.com>
> Cc: dev@dpdk.org; Morrissey, Sean <sean.morris...@intel.com>
> Subject: [PATCH v3 18/18] vhost: remove unneeded header includes
> 
> These header includes have been flagged by the iwyu_tool
> and removed.
> 
> Signed-off-by: Sean Morrissey <sean.morris...@intel.com>
> ---
>  lib/vhost/vhost.h      | 2 --
>  lib/vhost/vhost_user.h | 1 -
>  2 files changed, 3 deletions(-)
> 
> diff --git a/lib/vhost/vhost.h b/lib/vhost/vhost.h
> index 14235aaf81..4ebcb7448a 100644
> --- a/lib/vhost/vhost.h
> +++ b/lib/vhost/vhost.h
> @@ -7,10 +7,8 @@
>  #include <stdint.h>
>  #include <stdio.h>
>  #include <stdbool.h>
> -#include <sys/types.h>
>  #include <sys/queue.h>
>  #include <unistd.h>
> -#include <linux/vhost.h>
>  #include <linux/virtio_net.h>
>  #include <sys/socket.h>
>  #include <linux/if.h>
> diff --git a/lib/vhost/vhost_user.h b/lib/vhost/vhost_user.h
> index c4d091e175..8ecca68597 100644
> --- a/lib/vhost/vhost_user.h
> +++ b/lib/vhost/vhost_user.h
> @@ -6,7 +6,6 @@
>  #define _VHOST_NET_USER_H
> 
>  #include <stdint.h>
> -#include <linux/vhost.h>
> 
>  #include "rte_vhost.h"
> 
> --
> 2.25.1

Acked-by: Chenbo Xia <chenbo....@intel.com>

Reply via email to