X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/13fec9890cf095cc781fdf7b8917cb03bf32dd4c..c0fea4742e91338fffdcf79f86a7c1d5e2b97eb1:/bsd/net/raw_usrreq.c diff --git a/bsd/net/raw_usrreq.c b/bsd/net/raw_usrreq.c index d9bf97217..20d017a26 100644 --- a/bsd/net/raw_usrreq.c +++ b/bsd/net/raw_usrreq.c @@ -79,14 +79,10 @@ raw_init() { raw_mtx_grp_attr = lck_grp_attr_alloc_init(); - lck_grp_attr_setdefault(raw_mtx_grp_attr); - raw_mtx_grp = lck_grp_alloc_init("rawcb", raw_mtx_grp_attr); raw_mtx_attr = lck_attr_alloc_init(); - lck_attr_setdefault(raw_mtx_attr); - if ((raw_mtx = lck_mtx_alloc_init(raw_mtx_grp, raw_mtx_attr)) == NULL) { printf("raw_init: can't alloc raw_mtx\n"); return;