Author: glebius Date: Tue Jul 27 11:56:49 2010 New Revision: 210533 URL: http://svn.freebsd.org/changeset/base/210533
Log: Don't check malloc(M_WAITOK) result. Modified: head/sys/net/if_llatbl.c Modified: head/sys/net/if_llatbl.c ============================================================================== --- head/sys/net/if_llatbl.c Tue Jul 27 11:54:01 2010 (r210532) +++ head/sys/net/if_llatbl.c Tue Jul 27 11:56:49 2010 (r210533) @@ -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; _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"