aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2023-05-04 19:32:57 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2023-05-04 19:32:57 +0000
commit1efae8a24ffd08e78decc4a95f134db620dc41ce (patch)
tree6e593dfc322de9901ea7865b779165a53c8f97e4
parent463edaf441ac5e881d8202a5c1ffa4bfe4df4678 (diff)
downloadsrc-1efae8a24ffd08e78decc4a95f134db620dc41ce.tar.gz
src-1efae8a24ffd08e78decc4a95f134db620dc41ce.zip
dpaa2: Replace boolean_t with bool.
This was already using true/false rather than TRUE/FALSE. Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D39924
-rw-r--r--sys/dev/dpaa2/dpaa2_ni.c2
-rw-r--r--sys/dev/dpaa2/dpaa2_ni.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/dpaa2/dpaa2_ni.c b/sys/dev/dpaa2/dpaa2_ni.c
index e5b0fe59d14d..d4e4de216736 100644
--- a/sys/dev/dpaa2/dpaa2_ni.c
+++ b/sys/dev/dpaa2/dpaa2_ni.c
@@ -2776,7 +2776,7 @@ dpaa2_ni_transmit(if_t ifp, struct mbuf *m)
struct dpaa2_ni_channel *chan;
struct dpaa2_ni_tx_ring *tx;
uint32_t fqid;
- boolean_t found = false;
+ bool found = false;
int chan_n = 0;
if (__predict_false(!(if_getdrvflags(ifp) & IFF_DRV_RUNNING)))
diff --git a/sys/dev/dpaa2/dpaa2_ni.h b/sys/dev/dpaa2/dpaa2_ni.h
index 03528420d5d7..00215fdcefe5 100644
--- a/sys/dev/dpaa2/dpaa2_ni.h
+++ b/sys/dev/dpaa2/dpaa2_ni.h
@@ -552,7 +552,7 @@ struct dpaa2_ni_softc {
struct mtx lock;
device_t miibus;
struct mii_data *mii;
- boolean_t fixed_link;
+ bool fixed_link;
struct ifmedia fixed_ifmedia;
int media_status;