[libvirt PATCH] bhyve: command: remove unused includes

Ján Tomko posted 1 patch 4 years, 2 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/6801ad16241ef8c45a57e00e0ff70e60c7c63044.1582465117.git.jtomko@redhat.com
src/bhyve/bhyve_command.c | 4 ----
1 file changed, 4 deletions(-)
[libvirt PATCH] bhyve: command: remove unused includes
Posted by Ján Tomko 4 years, 2 months ago
These were needed for virBhyveTapGetRealDeviceName
but were not deleted after the function was moved
to src/util.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Fixes: a1bd8d2546c3e469f6a5ce119fad7da1cd473db5
---
Pushed as trivial.

 src/bhyve/bhyve_command.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/bhyve/bhyve_command.c b/src/bhyve/bhyve_command.c
index 2df7b60115..03bb99d496 100644
--- a/src/bhyve/bhyve_command.c
+++ b/src/bhyve/bhyve_command.c
@@ -21,10 +21,6 @@
 
 #include <config.h>
 
-#include <sys/types.h>
-#include <net/if.h>
-#include <net/if_tap.h>
-
 #include "bhyve_capabilities.h"
 #include "bhyve_command.h"
 #include "bhyve_domain.h"
-- 
2.24.1