]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netat/adsp_Status.c
xnu-792.13.8.tar.gz
[apple/xnu.git] / bsd / netat / adsp_Status.c
index 74d0d74bb6debeb7e9f03b6a8a112052d82b07e1..b420f3fb075a0f84d0fa568b6f155ef08bfaba82 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * Copyright (c) 2006 Apple Computer, Inc. All Rights Reserved.
- * 
+ * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ *
  * @APPLE_LICENSE_OSREFERENCE_HEADER_START@
  * 
  * This file contains Original Code and/or Modifications of Original Code 
@@ -116,7 +116,6 @@ int adspStatus(sp, pb)      /* (DSPPBPtr pb) */
 {
     short err;
     short bytes;
-    int        s;
 
     if (sp == 0) {
        pb->ioResult = errRefNum;
@@ -124,7 +123,6 @@ int adspStatus(sp, pb)      /* (DSPPBPtr pb) */
     }
        
     pb->u.statusParams.ccbPtr  = (TPCCB)sp;
-    ATDISABLE(s, sp->lock);    
        
     /*
      * pending bytes in send queue
@@ -150,7 +148,6 @@ int adspStatus(sp, pb)      /* (DSPPBPtr pb) */
                                /* available buffer space in receive queue */
     pb->u.statusParams.recvQFree = CalcRecvWdw(sp);
 
-    ATENABLE(s, sp->lock);     
     pb->ioResult = 0;
     adspioc_ack(0, pb->ioc, pb->gref);
     return 0;