git: 0b416346e1f5 - main - bus_dma: Trim CAM includes from subr_bus_dma.c
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Jul 2023 17:28:22 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=0b416346e1f575cbd1070b74b71a50f56487ef45 commit 0b416346e1f575cbd1070b74b71a50f56487ef45 Author: Marius Strobl <marius@freebsd.org> AuthorDate: 2023-07-24 17:26:06 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2023-07-24 17:26:06 +0000 bus_dma: Trim CAM includes from subr_bus_dma.c These are no longer needed after commit c5312bd79e66. This did require adding an include of <sys/limits.h> instead for SIZE_T_MAX which previously was dragged in via header pollution. --- sys/kern/subr_bus_dma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/kern/subr_bus_dma.c b/sys/kern/subr_bus_dma.c index 683b41d0047c..7f06e4e4f92b 100644 --- a/sys/kern/subr_bus_dma.c +++ b/sys/kern/subr_bus_dma.c @@ -41,6 +41,7 @@ __FBSDID("$FreeBSD$"); #include <sys/bus.h> #include <sys/callout.h> #include <sys/ktr.h> +#include <sys/limits.h> #include <sys/lock.h> #include <sys/mbuf.h> #include <sys/memdesc.h> @@ -53,9 +54,6 @@ __FBSDID("$FreeBSD$"); #include <vm/vm_map.h> #include <vm/pmap.h> -#include <cam/cam.h> -#include <cam/cam_ccb.h> - #include <opencrypto/cryptodev.h> #include <machine/bus.h>