summaryrefslogtreecommitdiff
path: root/sys/netatalk
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2001-05-16 12:54:35 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2001-05-16 12:54:35 +0000
commit60de2c41ea2b387be2e4b7b9b565329dd0a61c36 (patch)
tree8652597c096bbc850f6862988cd18624122c0051 /sys/netatalk
parent87f10021e726a2d2d79e079d9fe15180e3023b3e (diff)
No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)
Diffstat (limited to 'sys/netatalk')
-rw-r--r--sys/netatalk/ddp_output.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/netatalk/ddp_output.c b/sys/netatalk/ddp_output.c
index 524b0a946b5..db460d35379 100644
--- a/sys/netatalk/ddp_output.c
+++ b/sys/netatalk/ddp_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ddp_output.c,v 1.2 2000/06/16 21:47:15 provos Exp $ */
+/* $OpenBSD: ddp_output.c,v 1.3 2001/05/16 12:53:35 ho Exp $ */
/*
* Copyright (c) 1990,1991 Regents of The University of Michigan.
@@ -212,10 +212,6 @@ ddp_route( m, ro )
}
} else {
MGET( m0, M_WAIT, MT_HEADER );
- if ( m0 == 0 ) {
- m_freem( m );
- return( ENOBUFS );
- }
m0->m_next = m;
m0->m_len = SZ_ELAPHDR;
m = m0;