Don't check malloc(M_WAITOK) result.
This commit is contained in:
parent
cd292f1264
commit
b17f26b00c
@ -234,8 +234,6 @@ lltable_init(struct ifnet *ifp, int af)
|
||||
register int i;
|
||||
|
||||
llt = malloc(sizeof(struct lltable), M_LLTABLE, M_WAITOK);
|
||||
if (llt == NULL)
|
||||
return (NULL);
|
||||
|
||||
llt->llt_af = af;
|
||||
llt->llt_ifp = ifp;
|
||||
|
Loading…
Reference in New Issue
Block a user