summaryrefslogtreecommitdiff
path: root/sys/netiso/tp_driver.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_driver.c
parent87f10021e726a2d2d79e079d9fe15180e3023b3e (diff)
No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)
Diffstat (limited to 'sys/netiso/tp_driver.c')
-rw-r--r--sys/netiso/tp_driver.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/sys/netiso/tp_driver.c b/sys/netiso/tp_driver.c
index 55db1bde56d..c2df0f0ee08 100644
--- a/sys/netiso/tp_driver.c
+++ b/sys/netiso/tp_driver.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tp_driver.c,v 1.4 1998/04/04 02:55:57 don Exp $ */
+/* $OpenBSD: tp_driver.c,v 1.5 2001/05/16 12:54:07 ho Exp $ */
/* $NetBSD: tp_driver.c,v 1.8 1996/03/16 23:13:45 christos Exp $ */
#include "tp_states.h"
@@ -161,15 +161,13 @@ _Xebec_action(a, e, p)
(int) p->tp_flags, p->tp_ucddata, 0, 0);
#endif
data = MCPY(p->tp_ucddata, M_WAIT);
- if (data) {
#ifdef ARGO_DEBUG
- if (argo_debug[D_CONN]) {
- printf("T_CONN_req.trans m_copy cc %p\n",
- p->tp_ucddata);
- dump_mbuf(data, "sosnd @ T_CONN_req");
- }
-#endif
+ if (argo_debug[D_CONN]) {
+ printf("T_CONN_req.trans m_copy cc %p\n",
+ p->tp_ucddata);
+ dump_mbuf(data, "sosnd @ T_CONN_req");
}
+#endif
if ((error = tp_emit(CR_TPDU_type, p, 0, 0, data)) != 0)
return error; /* driver WON'T change state;
* will return error */