]> git.droids-corp.org - dpdk.git/commitdiff
vhost: remove unneeded header includes
authorSean Morrissey <sean.morrissey@intel.com>
Mon, 20 Jun 2022 10:40:30 +0000 (10:40 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 21 Jun 2022 14:46:57 +0000 (16:46 +0200)
These header includes have been flagged by the iwyu_tool
and removed.

Signed-off-by: Sean Morrissey <sean.morrissey@intel.com>
Acked-by: Chenbo Xia <chenbo.xia@intel.com>
lib/vhost/vhost.h
lib/vhost/vhost_user.h

index 14235aaf8148dff9f7c6290562d82e5be085a253..4ebcb7448a77e25243c4d6243c728373ecf8cac7 100644 (file)
@@ -7,10 +7,8 @@
 #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>
index c4d091e175c789e423f5211509c06116b789325a..8ecca68597073d4fa5d4493ad718aeea56568242 100644 (file)
@@ -6,7 +6,6 @@
 #define _VHOST_NET_USER_H
 
 #include <stdint.h>
-#include <linux/vhost.h>
 
 #include "rte_vhost.h"