diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-12-10 18:29:13 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-12-10 18:29:13 +0000 |
commit | ff45a2e26cc55f1543d70c14996d22e730162845 (patch) | |
tree | b9b99c191c42a6366a66018da1a581a2b875a0f1 /sys/dev/pci | |
parent | bed847b68757847e58d1b0705a6f5cddacc10cf4 (diff) |
remove an unused mbuf struct from vr_encap(), leftover from Jason's bus_dma conversion.
From Andrey Matveev <evol at online dot ptt dot ru>
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/if_vr.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/pci/if_vr.c b/sys/dev/pci/if_vr.c index f31f760e1ce..9e7c71d303c 100644 --- a/sys/dev/pci/if_vr.c +++ b/sys/dev/pci/if_vr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vr.c,v 1.52 2005/12/10 04:22:39 brad Exp $ */ +/* $OpenBSD: if_vr.c,v 1.53 2005/12/10 18:29:12 brad Exp $ */ /* * Copyright (c) 1997, 1998 @@ -1248,11 +1248,8 @@ int vr_encap(struct vr_softc *sc, struct vr_chain *c, struct mbuf *m_head) { struct vr_desc *f = NULL; - struct mbuf *m = m_head; struct mbuf *m_new = NULL; - m = m_head; - MGETHDR(m_new, M_DONTWAIT, MT_DATA); if (m_new == NULL) return (1); |