diff options
author | 2020-12-12 11:48:52 +0000 | |
---|---|---|
committer | 2020-12-12 11:48:52 +0000 | |
commit | 471f2571dbcecd0ac12f9020fb846fcac790084a (patch) | |
tree | 83287df76d83adfc23c123fd341e03b0a389ff75 /sys/dev/pci/if_mcx.c | |
parent | avoid uninitialised var by using dma tag from attach args (diff) | |
download | wireguard-openbsd-471f2571dbcecd0ac12f9020fb846fcac790084a.tar.xz wireguard-openbsd-471f2571dbcecd0ac12f9020fb846fcac790084a.zip |
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/pci/if_mcx.c')
-rw-r--r-- | sys/dev/pci/if_mcx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_mcx.c b/sys/dev/pci/if_mcx.c index b888734769d..2384eb659a0 100644 --- a/sys/dev/pci/if_mcx.c +++ b/sys/dev/pci/if_mcx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_mcx.c,v 1.75 2020/11/06 02:50:02 jmatthew Exp $ */ +/* $OpenBSD: if_mcx.c,v 1.76 2020/12/12 11:48:53 jan Exp $ */ /* * Copyright (c) 2017 David Gwynne <dlg@openbsd.org> @@ -6413,7 +6413,7 @@ mcx_rx_fill_slots(struct mcx_softc *sc, struct mcx_rx *rx, rqe = ring; for (fills = 0; fills < nslots; fills++) { ms = &slots[slot]; - m = MCLGETI(NULL, M_DONTWAIT, NULL, sc->sc_rxbufsz); + m = MCLGETL(NULL, M_DONTWAIT, sc->sc_rxbufsz); if (m == NULL) break; |