diff options
author | glebius <glebius@FreeBSD.org> | 2010-07-27 11:56:49 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2010-07-27 11:56:49 +0000 |
commit | b89adb17c926d6b5543e68aca7cd33f489f07ff2 (patch) | |
tree | 4ad66d758880b94ff4e964c114a476d5241a4ae4 /sys/net/if_llatbl.c | |
parent | 0078d05705d41a9636a935b14d8baf97fa5f4a13 (diff) | |
download | FreeBSD-src-b89adb17c926d6b5543e68aca7cd33f489f07ff2.zip FreeBSD-src-b89adb17c926d6b5543e68aca7cd33f489f07ff2.tar.gz |
Don't check malloc(M_WAITOK) result.
Diffstat (limited to 'sys/net/if_llatbl.c')
-rw-r--r-- | sys/net/if_llatbl.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; |