From ff45a2e26cc55f1543d70c14996d22e730162845 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sat, 10 Dec 2005 18:29:13 +0000 Subject: remove an unused mbuf struct from vr_encap(), leftover from Jason's bus_dma conversion. From Andrey Matveev --- sys/dev/pci/if_vr.c | 5 +---- 1 file changed, 1 insertion(+), 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); -- cgit v1.2.3