summaryrefslogtreecommitdiff
path: root/sys/netiso/tp_usrreq.c
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/netiso/tp_usrreq.c
parent87f10021e726a2d2d79e079d9fe15180e3023b3e (diff)
No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)
Diffstat (limited to 'sys/netiso/tp_usrreq.c')
-rw-r--r--sys/netiso/tp_usrreq.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/netiso/tp_usrreq.c b/sys/netiso/tp_usrreq.c
index 7c6f03cec22..8b3e4caf987 100644
--- a/sys/netiso/tp_usrreq.c
+++ b/sys/netiso/tp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tp_usrreq.c,v 1.3 1996/04/21 22:30:04 deraadt Exp $ */
+/* $OpenBSD: tp_usrreq.c,v 1.4 2001/05/16 12:54:07 ho Exp $ */
/* $NetBSD: tp_usrreq.c,v 1.9 1996/03/16 23:14:06 christos Exp $ */
/*-
@@ -329,9 +329,6 @@ tp_sendoob(tpcb, so, xdata, outflags)
if (xdata == (struct mbuf *) 0) {
/* empty xpd packet */
MGETHDR(xdata, M_WAIT, MT_OOBDATA);
- if (xdata == NULL) {
- return ENOBUFS;
- }
xdata->m_len = 0;
xdata->m_pkthdr.len = 0;
}