svn commit: r366903 - head/sys/geom

Robert Wing rew at FreeBSD.org
Tue Oct 20 20:59:14 UTC 2020


Author: rew
Date: Tue Oct 20 20:59:13 2020
New Revision: 366903
URL: https://svnweb.freebsd.org/changeset/base/366903

Log:
  geom_ctl.c: remove stale header files
  
  - Remove "opt_geom.h", no kernel options are used.
  
  - Remove <sys/sysctl.h>, no sysctl functionality is used here.
  
  - Remove <sys/bio.h>, requirements for bio moved out in r112534.
  
  - Remove <sys/lock.h> and <sys/mutex.h>, last used by DROP_GIANT() and
    PICKUP_GIANT(), which were removed in r115624.
  
  - Remove <sys/disk.h> and <sys/kernel.h>, not used.
  
  Reviewed by: phk, kevans (mentor)
  Approved by: phk, kevans (mentor)
  Differential Revision: https://reviews.freebsd.org/D26805

Modified:
  head/sys/geom/geom_ctl.c

Modified: head/sys/geom/geom_ctl.c
==============================================================================
--- head/sys/geom/geom_ctl.c	Tue Oct 20 20:11:29 2020	(r366902)
+++ head/sys/geom/geom_ctl.c	Tue Oct 20 20:59:13 2020	(r366903)
@@ -38,21 +38,11 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
-#include "opt_geom.h"
-
 #include <sys/param.h>
 #include <sys/systm.h>
-#include <sys/kernel.h>
-#include <sys/sysctl.h>
-#include <sys/bio.h>
 #include <sys/conf.h>
-#include <sys/disk.h>
 #include <sys/malloc.h>
-#include <sys/sysctl.h>
 #include <sys/sbuf.h>
-
-#include <sys/lock.h>
-#include <sys/mutex.h>
 
 #include <vm/vm.h>
 #include <vm/vm_extern.h>


More information about the svn-src-head mailing list