Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2023 19:30:21 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 1320520ba488 - main - libvmmapi: Remove some unneeded includes
Message-ID:  <202306081930.358JUL1H056592@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306081930.358JUL1H056592>