summaryrefslogtreecommitdiffstats
path: root/sys/net/if_strip.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_strip.c')
-rw-r--r--sys/net/if_strip.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/net/if_strip.c b/sys/net/if_strip.c
index f6febb012b3..5f612f0cccc 100644
--- a/sys/net/if_strip.c
+++ b/sys/net/if_strip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_strip.c,v 1.35 2008/10/22 23:04:45 mpf Exp $ */
+/* $OpenBSD: if_strip.c,v 1.36 2009/07/19 08:16:06 blambert Exp $ */
/* $NetBSD: if_strip.c,v 1.2.4.3 1996/08/03 00:58:32 jtc Exp $ */
/* from: NetBSD: if_sl.c,v 1.38 1996/02/13 22:00:23 christos Exp $ */
@@ -473,11 +473,7 @@ stripopen(dev, tp)
sc->sc_oldbufquot = tp->t_outq.c_cq != 0;
clfree(&tp->t_outq);
- error = clalloc(&tp->t_outq, 3*SLMTU, 0);
- if (error) {
- splx(s);
- return (error);
- }
+ clalloc(&tp->t_outq, 3*SLMTU, 0);
} else
sc->sc_oldbufsize = sc->sc_oldbufquot = 0;
splx(s);