aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAbdelkader Boudih <freebsd@seuros.com>2026-08-15 15:52:51 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2026-08-15 15:52:53 +0000
commit087d722624c7293c2cbc5ab2bc1e20b6a68aae96 (patch)
tree6168cd88927b48429d521f351e28ad5bbd85565d /sys
parent521fdb95cc7863871e5404e9a9abd1c4174af1ba (diff)
busdma_bounce: fix unused-function warning on powerpcHEADmain
static inline, and powerpc's own must_bounce() never calls it. Reviewed by: adrian Differential Revision: https://reviews.freebsd.org/D58825
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_busdma_bounce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_busdma_bounce.c b/sys/kern/subr_busdma_bounce.c
index bf9524c6eee5..793f8dbe951f 100644
--- a/sys/kern/subr_busdma_bounce.c
+++ b/sys/kern/subr_busdma_bounce.c
@@ -151,7 +151,7 @@ busdma_sysctl_tree_top(struct bounce_zone *bz)
* Returns true if the address falls within the tag's exclusion window, or
* fails to meet its alignment requirements.
*/
-static bool
+static inline bool
addr_needs_bounce(bus_dma_tag_t dmat, bus_addr_t paddr)
{