X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..89b3af67bb32e691275bf6fa803d1834b2284115:/bsd/netat/adsp_Init.c diff --git a/bsd/netat/adsp_Init.c b/bsd/netat/adsp_Init.c index 7273dd963..6c7895cb2 100644 --- a/bsd/netat/adsp_Init.c +++ b/bsd/netat/adsp_Init.c @@ -56,7 +56,6 @@ #include #include -extern atlock_t adspgen_lock; /* * InitContinue @@ -76,7 +75,6 @@ static void InitContinue(sp, pb) /* (CCBPtr sp, DSPPBPtr pb, int soc) */ CCBPtr sp; struct adspcmd *pb; { - int s; /* Save connection's socket # in CCB */ sp->localSocket = pb->socket; @@ -84,9 +82,7 @@ static void InitContinue(sp, pb) /* (CCBPtr sp, DSPPBPtr pb, int soc) */ /* * Link the new ccb onto queue. Must be done with interrupts off. */ - ATDISABLE(s, adspgen_lock); qAddToEnd(AT_ADSP_STREAMS, sp); /* Put on linked list of connections */ - ATENABLE(s, adspgen_lock); return; }