git: b8b94f5ab1bf - main - vm_object: drop unnecessary vm_object.h header
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Apr 2025 16:24:03 UTC
The branch main has been updated by dougm:
URL: https://cgit.FreeBSD.org/src/commit/?id=b8b94f5ab1bffdb23ae8146ba2bf1f1f2952fae5
commit b8b94f5ab1bffdb23ae8146ba2bf1f1f2952fae5
Author: Doug Moore <dougm@FreeBSD.org>
AuthorDate: 2025-04-30 16:22:49 +0000
Commit: Doug Moore <dougm@FreeBSD.org>
CommitDate: 2025-04-30 16:22:49 +0000
vm_object: drop unnecessary vm_object.h header
The header vm_object.h is included in vm_phys.h and uma_core.h, where
it is not necessary. Remove it.
Reviewed by: kib, markj
Differential Revision: https://reviews.freebsd.org/D50081
---
sys/vm/uma_core.c | 1 -
sys/vm/vm_phys.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c
index 35eede04171f..61b03ef24925 100644
--- a/sys/vm/uma_core.c
+++ b/sys/vm/uma_core.c
@@ -84,7 +84,6 @@
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/vm_domainset.h>
-#include <vm/vm_object.h>
#include <vm/vm_page.h>
#include <vm/vm_pageout.h>
#include <vm/vm_phys.h>
diff --git a/sys/vm/vm_phys.c b/sys/vm/vm_phys.c
index ca6bec8b8b9f..95bf6b61fe19 100644
--- a/sys/vm/vm_phys.c
+++ b/sys/vm/vm_phys.c
@@ -67,7 +67,6 @@
#include <vm/vm_extern.h>
#include <vm/vm_param.h>
#include <vm/vm_kern.h>
-#include <vm/vm_object.h>
#include <vm/vm_page.h>
#include <vm/vm_phys.h>
#include <vm/vm_pagequeue.h>