summaryrefslogtreecommitdiff
path: root/sys/netipx
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netipx')
-rw-r--r--sys/netipx/ipx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netipx/ipx.c b/sys/netipx/ipx.c
index 1107eb32c58..30a337cb289 100644
--- a/sys/netipx/ipx.c
+++ b/sys/netipx/ipx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipx.c,v 1.9 2000/01/15 18:52:13 fgsch Exp $ */
+/* $OpenBSD: ipx.c,v 1.10 2001/05/16 12:54:06 ho Exp $ */
/*-
*
@@ -101,8 +101,6 @@ ipx_control(so, cmd, data, ifp)
if (ia == (struct ipx_ifaddr *)NULL) {
ia = (struct ipx_ifaddr *)
malloc(sizeof(*ia), M_IFADDR, M_WAITOK);
- if (ia == (struct ipx_ifaddr *)NULL)
- return (ENOBUFS);
bzero((caddr_t)ia, sizeof(*ia));
TAILQ_INSERT_TAIL(&ifp->if_addrlist,
(struct ifaddr *)ia, ifa_list);