aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Strobl <marius@freebsd.org>2023-07-24 17:26:06 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2023-07-24 17:26:06 +0000
commit0b416346e1f575cbd1070b74b71a50f56487ef45 (patch)
tree7afb7b7e5dfbad92658935782a24577211549b51
parent7a165460252c04cbdfb60e3e86b788dcf4b72e9a (diff)
downloadsrc-0b416346e1f575cbd1070b74b71a50f56487ef45.tar.gz
src-0b416346e1f575cbd1070b74b71a50f56487ef45.zip
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.
-rw-r--r--sys/kern/subr_bus_dma.c4
1 files changed, 1 insertions, 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>