X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/378393581903b274cb7a4d18e0d978071a6b592d..c0fea4742e91338fffdcf79f86a7c1d5e2b97eb1:/bsd/net/dlil.c?ds=sidebyside diff --git a/bsd/net/dlil.c b/bsd/net/dlil.c index 1118b6142..4b24b76f9 100644 --- a/bsd/net/dlil.c +++ b/bsd/net/dlil.c @@ -551,7 +551,6 @@ dlil_init(void) /* Setup the lock groups we will use */ grp_attributes = lck_grp_attr_alloc_init(); - lck_grp_attr_setdefault(grp_attributes); dlil_lock_group = lck_grp_alloc_init("dlil internal locks", grp_attributes); #if IFNET_RW_LOCK @@ -566,10 +565,8 @@ dlil_init(void) /* Setup the lock attributes we will use */ lck_attributes = lck_attr_alloc_init(); - lck_attr_setdefault(lck_attributes); ifnet_lock_attr = lck_attr_alloc_init(); - lck_attr_setdefault(ifnet_lock_attr); dlil_input_lock = lck_spin_alloc_init(input_lock_grp, lck_attributes); input_lock_grp = 0;