Remove unused eventfd.h
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.
Signed-off-by Mike McCormack <[email protected]>
--- hw/vhost.c | 1 - hw/vhost_net.c | 1 - 2 files changed, 0 insertions(+), 2 deletions(-)
hw/vhost.c +0 -1
@@ -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
@@ -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
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.
Signed-off-by Mike McCormack <[email protected]>---
hw/vhost.c | 1 -
hw/vhost_net.c | 1 -2 files changed, 0 insertions(+), 2 deletions(-)hw/vhost.c +0
-1@@ -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@@ -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
Aurelien Jarno
AppliedQuoted 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.
Signed-off-by Mike McCormack <[email protected]>--- 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@@ -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@@ -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