Date: Tue, 20 Oct 2020 20:59:13 +0000 (UTC) From: Robert Wing <rew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r366903 - head/sys/geom Message-ID: <202010202059.09KKxDAW080510@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010202059.09KKxDAW080510>