diff mbox

[1/1] Remove unused eventfd.h

Message ID 4C50B426.50706@ring3k.org
State New
Headers show

Commit Message

Mike McCormack July 28, 2010, 10:50 p.m. UTC
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 <mikem@ring3k.org>
---
 hw/vhost.c     |    1 -
 hw/vhost_net.c |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

Comments

Stefan Hajnoczi July 29, 2010, 9:19 a.m. UTC | #1
On Wed, Jul 28, 2010 at 11:50 PM, Mike McCormack <mikem@ring3k.org> 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 <mikem@ring3k.org>
> ---
>  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
Aurelien Jarno July 30, 2010, 9:25 p.m. UTC | #2
On Thu, Jul 29, 2010 at 07:50:14AM +0900, Mike McCormack 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 <mikem@ring3k.org>
> ---
>  hw/vhost.c     |    1 -
>  hw/vhost_net.c |    1 -
>  2 files changed, 0 insertions(+), 2 deletions(-)

Thanks, applied.

> 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
> 
> 
>
diff mbox

Patch

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>