[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/1] Remove unused eventfd.h
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 1/1] Remove unused eventfd.h |
Date: |
Thu, 29 Jul 2010 10:19:57 +0100 |
On Wed, Jul 28, 2010 at 11:50 PM, Mike McCormack <address@hidden> wrote:
> This header is not present on my system and causes a build
> failure, but is also not used in these files, so remove it.
>
> Signed-off-by: Mike McCormack <address@hidden>
> ---
> hw/vhost.c | 1 -
> hw/vhost_net.c | 1 -
> 2 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/hw/vhost.c b/hw/vhost.c
> index 65709d0..34c4745 100644
> --- a/hw/vhost.c
> +++ b/hw/vhost.c
> @@ -11,7 +11,6 @@
> */
>
> #include <sys/ioctl.h>
> -#include <sys/eventfd.h>
> #include "vhost.h"
> #include "hw/hw.h"
> /* For range_get_last */
> diff --git a/hw/vhost_net.c b/hw/vhost_net.c
> index 606aa0c..0c00de2 100644
> --- a/hw/vhost_net.c
> +++ b/hw/vhost_net.c
> @@ -20,7 +20,6 @@
>
> #ifdef CONFIG_VHOST_NET
> #include <linux/vhost.h>
> -#include <sys/eventfd.h>
> #include <sys/socket.h>
> #include <linux/kvm.h>
> #include <fcntl.h>
> --
> 1.5.6.5
Looks good.
Stefan