summaryrefslogtreecommitdiffstats
path: root/sys/net/rtsock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/rtsock.c')
-rw-r--r--sys/net/rtsock.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index d59ef70..810da1b 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -275,8 +275,6 @@ rts_attach(struct socket *so, int proto, struct thread *td)
/* XXX */
rp = malloc(sizeof *rp, M_PCB, M_WAITOK | M_ZERO);
- if (rp == NULL)
- return ENOBUFS;
so->so_pcb = (caddr_t)rp;
so->so_fibnum = td->td_proc->p_fibnum;
OpenPOWER on IntegriCloud