[PATCH v1 19/19] vhost: remove unneeded header includes
Sean Morrissey
sean.morrissey at intel.com
Thu Apr 21 21:08:59 CEST 2022
These header includes have been flagged by the iwyu_tool
and removed.
Signed-off-by: Sean Morrissey <sean.morrissey at intel.com>
---
lib/vhost/vhost.h | 3 ---
lib/vhost/vhost_user.h | 1 -
2 files changed, 4 deletions(-)
diff --git a/lib/vhost/vhost.h b/lib/vhost/vhost.h
index a9edc271aa..711bb8cd83 100644
--- a/lib/vhost/vhost.h
+++ b/lib/vhost/vhost.h
@@ -7,12 +7,9 @@
#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>
#include <rte_log.h>
diff --git a/lib/vhost/vhost_user.h b/lib/vhost/vhost_user.h
index c946cc2ef4..8d216c380f 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
More information about the dev
mailing list