X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/13fec9890cf095cc781fdf7b8917cb03bf32dd4c..c0fea4742e91338fffdcf79f86a7c1d5e2b97eb1:/bsd/net/route.c diff --git a/bsd/net/route.c b/bsd/net/route.c index 4ab8d1d16..0e21b7266 100644 --- a/bsd/net/route.c +++ b/bsd/net/route.c @@ -111,14 +111,10 @@ route_init() { rt_mtx_grp_attr = lck_grp_attr_alloc_init(); - lck_grp_attr_setdefault(rt_mtx_grp_attr); - rt_mtx_grp = lck_grp_alloc_init("route", rt_mtx_grp_attr); rt_mtx_attr = lck_attr_alloc_init(); - lck_attr_setdefault(rt_mtx_attr); - if ((rt_mtx = lck_mtx_alloc_init(rt_mtx_grp, rt_mtx_attr)) == NULL) { printf("route_init: can't alloc rt_mtx\n"); return;