X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/6601e61aa18bf4f09af135ff61fc7f4771d23b06..0c530ab8987f0ae6a1a3d9284f40182b88852816:/bsd/netat/adsp_Init.c diff --git a/bsd/netat/adsp_Init.c b/bsd/netat/adsp_Init.c index b6ab21997..8400cd061 100644 --- a/bsd/netat/adsp_Init.c +++ b/bsd/netat/adsp_Init.c @@ -50,7 +50,6 @@ #include #include -extern atlock_t adspgen_lock; /* * InitContinue @@ -70,7 +69,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; @@ -78,9 +76,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; }