summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/acx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ic/acx.c b/sys/dev/ic/acx.c
index 991a820238c..8fef75e2ed7 100644
--- a/sys/dev/ic/acx.c
+++ b/sys/dev/ic/acx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acx.c,v 1.118 2016/04/13 10:49:26 mpi Exp $ */
+/* $OpenBSD: acx.c,v 1.119 2016/09/02 09:04:56 tom Exp $ */
/*
* Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org>
@@ -2197,8 +2197,6 @@ acx_encap(struct acx_softc *sc, struct acx_txbuf *txbuf, struct mbuf *m,
if (txbuf->tb_mbuf != NULL)
panic("free TX buf has mbuf installed");
- error = 0;
-
if (m->m_pkthdr.len > MCLBYTES) {
printf("%s: mbuf too big\n", ifp->if_xname);
error = E2BIG;