]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netat/adsp_Init.c
xnu-792.25.20.tar.gz
[apple/xnu.git] / bsd / netat / adsp_Init.c
index b6ab21997e4364cde375e18fbddc61eb8f4278e4..8400cd06118f4c6b7d605fee712879f5dea03710 100644 (file)
@@ -50,7 +50,6 @@
 #include <netat/adsp.h>
 #include <netat/adsp_internal.h>
 
-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;
 }