From b17f26b00c2900f9126d0232ecbd27710ba4cc6d Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Tue, 27 Jul 2010 11:56:49 +0000 Subject: [PATCH] Don't check malloc(M_WAITOK) result. --- sys/net/if_llatbl.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/net/if_llatbl.c b/sys/net/if_llatbl.c index 3af9effd9f1a..d516dbc5accc 100644 --- a/sys/net/if_llatbl.c +++ b/sys/net/if_llatbl.c @@ -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;