summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_bge.c
diff options
context:
space:
mode:
authorjan <jan@cvs.openbsd.org>2020-12-12 11:49:03 +0000
committerjan <jan@cvs.openbsd.org>2020-12-12 11:49:03 +0000
commit6d4278dde7bbd44ebf209900ed30094580ca9dd2 (patch)
tree679203df2879430d05268b1347f4f262cb4afc37 /sys/dev/pci/if_bge.c
parent056fb48734bba89aad9ad9db65ec02886cd2f21a (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/pci/if_bge.c')
-rw-r--r--sys/dev/pci/if_bge.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c
index 7cc69d902b9..5c114d63774 100644
--- a/sys/dev/pci/if_bge.c
+++ b/sys/dev/pci/if_bge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bge.c,v 1.392 2020/07/26 17:44:15 kettenis Exp $ */
+/* $OpenBSD: if_bge.c,v 1.393 2020/12/12 11:48:52 jan Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -1113,7 +1113,7 @@ bge_newbuf(struct bge_softc *sc, int i)
struct mbuf *m;
int error;
- m = MCLGETI(NULL, M_DONTWAIT, NULL, sc->bge_rx_std_len);
+ m = MCLGETL(NULL, M_DONTWAIT, sc->bge_rx_std_len);
if (!m)
return (ENOBUFS);
m->m_len = m->m_pkthdr.len = sc->bge_rx_std_len;
@@ -1162,7 +1162,7 @@ bge_newbuf_jumbo(struct bge_softc *sc, int i)
struct mbuf *m;
int error;
- m = MCLGETI(NULL, M_DONTWAIT, NULL, BGE_JLEN);
+ m = MCLGETL(NULL, M_DONTWAIT, BGE_JLEN);
if (!m)
return (ENOBUFS);
m->m_len = m->m_pkthdr.len = BGE_JUMBO_FRAMELEN;