git: 1e84b85aad10 - main - geom: Remove sysctl.h

From: Warner Losh <imp_at_FreeBSD.org>
Date: Wed, 22 May 2024 22:24:18 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=1e84b85aad10e7f83ef89bc1c13e251d3ac48ccc

commit 1e84b85aad10e7f83ef89bc1c13e251d3ac48ccc
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-05-22 22:23:45 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-05-22 22:24:11 +0000

    geom: Remove sysctl.h
    
    These files don't need sysctl.h, so remove it.
    
    Sponsored by:           Netflix
---
 sys/geom/geom_slice.c | 1 -
 sys/geom/geom_subr.c  | 1 -
 2 files changed, 2 deletions(-)

diff --git a/sys/geom/geom_slice.c b/sys/geom/geom_slice.c
index 3803697e8481..0839bc213817 100644
--- a/sys/geom/geom_slice.c
+++ b/sys/geom/geom_slice.c
@@ -40,7 +40,6 @@
 #include <sys/kernel.h>
 #include <sys/malloc.h>
 #include <sys/bio.h>
-#include <sys/sysctl.h>
 #include <sys/proc.h>
 #include <sys/lock.h>
 #include <sys/mutex.h>
diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c
index 3fef8a918530..4e2c122ef6dd 100644
--- a/sys/geom/geom_subr.c
+++ b/sys/geom/geom_subr.c
@@ -44,7 +44,6 @@
 #include <sys/kernel.h>
 #include <sys/malloc.h>
 #include <sys/bio.h>
-#include <sys/sysctl.h>
 #include <sys/proc.h>
 #include <sys/kthread.h>
 #include <sys/lock.h>