Skip to contentSkip to conversation

Remove unused eventfd.h

PATCH Applied Mike McCormack 3 participants 3 messages Jul 28, 2010 – Jul 30, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove unused eventfd.h

This header is not present on my system and causes a build failure, but is also not used in these files, so remove it.

---
 hw/vhost.c     |    1 -
 hw/vhost_net.c |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
hw/vhost.c +0 -1
index 65709d0..34c4745 100644
@@ -11,7 +11,6 @@
  */
 
 #include <sys/ioctl.h>
-#include <sys/eventfd.h>
 #include "vhost.h"
 #include "hw/hw.h"
 /* For range_get_last */
hw/vhost_net.c +0 -1
index 606aa0c..0c00de2 100644
@@ -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>
Signature · 1 line
1.5.6.5
#1 lore raw
Quoted 34 lines · Mike McCormack

This header is not present on my system and causes a build failure, but is also not used in these files, so remove it.

---
 hw/vhost.c     |    1 -
 hw/vhost_net.c |    1 -

 2 files changed, 0 insertions(+), 2 deletions(-)
hw/vhost.c +0 -1
index 65709d0..34c4745 100644
@@ -11,7 +11,6 @@
  */
 
  #include <sys/ioctl.h>
-#include <sys/eventfd.h>
  #include "vhost.h"
  #include "hw/hw.h"
  /* For range_get_last */
hw/vhost_net.c +0 -2
index 606aa0c..0c00de2 100644
@@ -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>
--
Quoted 1 line

1.5.6.5

Looks good.

Stefan

#2 lore raw
In reply to Mike McCormack
Quoted 8 lines · Mike McCormack

This header is not present on my system and causes a build failure, but is also not used in these files, so remove it.

---
 hw/vhost.c     |    1 -
 hw/vhost_net.c |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

Thanks, applied.

Quoted 29 lines
hw/vhost.c +0 -1
index 65709d0..34c4745 100644
@@ -11,7 +11,6 @@
  */
 
 #include <sys/ioctl.h>
-#include <sys/eventfd.h>
 #include "vhost.h"
 #include "hw/hw.h"
 /* For range_get_last */
hw/vhost_net.c +0 -1
index 606aa0c..0c00de2 100644
@@ -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>
Signature · 1 line
1.5.6.5
Signature · 2 lines
Aurelien Jarno                          GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net