summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_vr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/if_vr.c')
-rw-r--r--sys/dev/pci/if_vr.c5
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);