diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-07-15 12:10:49 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-07-15 12:10:49 +0000 |
commit | 57ddc1a1b18015cea76122b8b3576cef80c1463c (patch) | |
tree | 29f46be13c74094b8775a68683b7962aa0e7e59d /sys | |
parent | 05c34a32e2fcb8a94ffde7fcdf6576e106a03e88 (diff) |
theres no need too m_adj() the mbuf by 8bytes (u_int64_t) in
sis_newbuf(), so remove the call.
ok and lots of prodding dlg@, brad@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_sis.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/if_sis.c b/sys/dev/pci/if_sis.c index 685dc5c3970..f2a366009e5 100644 --- a/sys/dev/pci/if_sis.c +++ b/sys/dev/pci/if_sis.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sis.c,v 1.79 2008/07/10 18:14:59 thib Exp $ */ +/* $OpenBSD: if_sis.c,v 1.80 2008/07/15 12:10:48 thib Exp $ */ /* * Copyright (c) 1997, 1998, 1999 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. @@ -1258,8 +1258,6 @@ sis_newbuf(struct sis_softc *sc, struct sis_desc *c, struct mbuf *m) m_new->m_len = m_new->m_pkthdr.len = MCLBYTES; - m_adj(m_new, sizeof(u_int64_t)); - if (bus_dmamap_load_mbuf(sc->sc_dmat, sc->sc_rx_sparemap, m_new, BUS_DMA_NOWAIT)) { m_freem(m_new); |