git: 1320520ba488 - main - libvmmapi: Remove some unneeded includes

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Thu, 08 Jun 2023 19:30:21 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=1320520ba488386251a7d02bd90842e031931133

commit 1320520ba488386251a7d02bd90842e031931133
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-06-08 19:03:46 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-06-08 19:03:46 +0000

    libvmmapi: Remove some unneeded includes
    
    These are amd64-specific and so can't be used when targetting arm64, but
    they don't appear to be needed.
    
    No functional change intended.
    
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation
---
 lib/libvmmapi/vmmapi.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/libvmmapi/vmmapi.c b/lib/libvmmapi/vmmapi.c
index 25e19c0d9931..9b82220fade8 100644
--- a/lib/libvmmapi/vmmapi.c
+++ b/lib/libvmmapi/vmmapi.c
@@ -41,9 +41,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/_iovec.h>
 #include <sys/cpuset.h>
 
-#include <x86/segments.h>
-#include <machine/specialreg.h>
-
 #include <capsicum_helpers.h>
 #include <errno.h>
 #include <stdbool.h>