diff options
author | julian <julian@FreeBSD.org> | 2001-08-19 04:30:13 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2001-08-19 04:30:13 +0000 |
commit | b753f3c491f356a2769a44e37d94c9e2d975d4cf (patch) | |
tree | cb1e9d42eef0b5b99f61d164f5b2b62986d3c6e4 /sys/kern/uipc_usrreq.c | |
parent | d01d678e4da36081c27805c5ccb5b83ec528cfe9 (diff) | |
download | FreeBSD-src-b753f3c491f356a2769a44e37d94c9e2d975d4cf.zip FreeBSD-src-b753f3c491f356a2769a44e37d94c9e2d975d4cf.tar.gz |
Forgot to remove this un-needed test. (M_WAITOK won't fail)
I vaguely remember someone once proving it COULD return NULL..
was that changed?
Reminded by: BDE
MFC after: 2 weeks
Diffstat (limited to 'sys/kern/uipc_usrreq.c')
-rw-r--r-- | sys/kern/uipc_usrreq.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/uipc_usrreq.c b/sys/kern/uipc_usrreq.c index d21641f..043bc6b 100644 --- a/sys/kern/uipc_usrreq.c +++ b/sys/kern/uipc_usrreq.c @@ -855,8 +855,6 @@ unp_pcblist(SYSCTL_HANDLER_ARGS) } unp_list = malloc(n * sizeof *unp_list, M_TEMP, M_WAITOK); - if (unp_list == 0) - return ENOMEM; for (unp = LIST_FIRST(head), i = 0; unp && i < n; unp = LIST_NEXT(unp, unp_link)) { |