From b89adb17c926d6b5543e68aca7cd33f489f07ff2 Mon Sep 17 00:00:00 2001 From: glebius Date: Tue, 27 Jul 2010 11:56:49 +0000 Subject: Don't check malloc(M_WAITOK) result. --- sys/net/if_llatbl.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/net') diff --git a/sys/net/if_llatbl.c b/sys/net/if_llatbl.c index 3af9eff..d516dbc 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; -- cgit v1.1