diff options
author | jan <jan@cvs.openbsd.org> | 2020-12-12 11:49:03 +0000 |
---|---|---|
committer | jan <jan@cvs.openbsd.org> | 2020-12-12 11:49:03 +0000 |
commit | 6d4278dde7bbd44ebf209900ed30094580ca9dd2 (patch) | |
tree | 679203df2879430d05268b1347f4f262cb4afc37 /sys/dev/ic/ti.c | |
parent | 056fb48734bba89aad9ad9db65ec02886cd2f21a (diff) |
Rename the macro MCLGETI to MCLGETL and removes the dead parameter ifp.
OK dlg@, bluhm@
No Opinion mpi@
Not against it claudio@
Diffstat (limited to 'sys/dev/ic/ti.c')
-rw-r--r-- | sys/dev/ic/ti.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/ti.c b/sys/dev/ic/ti.c index da779ef51ce..4e682d00b11 100644 --- a/sys/dev/ic/ti.c +++ b/sys/dev/ic/ti.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ti.c,v 1.27 2020/07/10 13:26:37 patrick Exp $ */ +/* $OpenBSD: ti.c,v 1.28 2020/12/12 11:48:52 jan Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -576,7 +576,7 @@ ti_newbuf_std(struct ti_softc *sc, int i, struct mbuf *m, sc->ti_cdata.ti_rx_std_map[i] = dmamap; if (m == NULL) { - m_new = MCLGETI(NULL, M_DONTWAIT, NULL, MCLBYTES); + m_new = MCLGETL(NULL, M_DONTWAIT, MCLBYTES); if (m_new == NULL) return (ENOBUFS); @@ -695,7 +695,7 @@ ti_newbuf_jumbo(struct ti_softc *sc, int i, struct mbuf *m, bus_dmamap_unload(sc->sc_dmatag, dmamap); if (m == NULL) { - m_new = MCLGETI(NULL, M_DONTWAIT, NULL, TI_JUMBO_FRAMELEN); + m_new = MCLGETL(NULL, M_DONTWAIT, TI_JUMBO_FRAMELEN); if (m_new == NULL) return (ENOBUFS); |