--- src/sys/vfs/nfs/bootp_subr.c 2008/01/05 14:02:41 1.23 +++ src/sys/vfs/nfs/bootp_subr.c 2008/01/06 16:55:53 1.24 @@ -421,9 +421,6 @@ allocifctx(struct bootpc_globalcontext * struct bootpc_ifcontext *ifctx; ifctx = (struct bootpc_ifcontext *) kmalloc(sizeof(*ifctx), M_TEMP, M_WAITOK); - if (ifctx == NULL) - panic("Failed to allocate bootp interface context structure"); - bzero(ifctx, sizeof(*ifctx)); ifctx->xid = gctx->xid; #ifdef BOOTP_NO_DHCP @@ -1541,8 +1538,6 @@ bootpc_init(void) tsleep(&time_second, 0, "arpkludge", 10); gctx = kmalloc(sizeof(*gctx), M_TEMP, M_WAITOK | M_ZERO); - if (gctx == NULL) - panic("Failed to allocate bootp global context structure"); gctx->xid = ~0xFFFF; gctx->starttime = time_second;