Date: Tue, 27 Jul 2010 11:56:50 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r210533 - head/sys/net Message-ID: <201007271156.o6RBuoHt085099@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007271156.o6RBuoHt085099>