summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2013-08-21 05:21:47 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2013-08-21 05:21:47 +0000
commit6c6287fe271247607d595cdf2777af3e65547680 (patch)
treea8c0feda16a4dbe1b9ec8258e9a50ceaccf30e16 /sys/dev/pcmcia
parenta83165bd346e9097817cfc2dbbdf05990cc2fa80 (diff)
get rid of the copy argument in m_devget that let you provide an
alternative to bcopy since noone uses it. while there use memcpy instead of bcopy because we know the memory cannot overlap. ok henning@ matthew@ mikeb@ deraadt@
Diffstat (limited to 'sys/dev/pcmcia')
-rw-r--r--sys/dev/pcmcia/if_malo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pcmcia/if_malo.c b/sys/dev/pcmcia/if_malo.c
index 199626cd7e6..86b70da6b7c 100644
--- a/sys/dev/pcmcia/if_malo.c
+++ b/sys/dev/pcmcia/if_malo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_malo.c,v 1.73 2011/07/03 15:47:17 matthew Exp $ */
+/* $OpenBSD: if_malo.c,v 1.74 2013/08/21 05:21:45 dlg Exp $ */
/*
* Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org>
@@ -971,7 +971,7 @@ cmalo_rx(struct malo_softc *sc)
/* prepare mbuf */
m = m_devget(sc->sc_data + rxdesc->pkgoffset,
- rxdesc->pkglen, ETHER_ALIGN, ifp, NULL);
+ rxdesc->pkglen, ETHER_ALIGN, ifp);
if (m == NULL) {
DPRINTF(1, "RX m_devget failed\n");
ifp->if_ierrors++;