]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netat/adsp_misc.c
xnu-792.22.5.tar.gz
[apple/xnu.git] / bsd / netat / adsp_misc.c
index ad0d280a60f03cfcddc13eabd77d4a52d18aba82..aa68178ae966e542cf852ee8acdf2adb3635eaad 100644 (file)
@@ -50,7 +50,6 @@
  *    Modified for MP, 1996 by Tuyen Nguyen
  *   Modified, April 9, 1997 by Tuyen Nguyen for MacOSX.
  */
-extern atlock_t adspgen_lock;
 
 
 struct qlink {
@@ -130,17 +129,14 @@ void* qfind_m(qhead, match, compare_fnx)
        void  *match;
        ProcPtr compare_fnx;
 {
-       int s;
        CCBPtr queue_item = qhead;
 
-       ATDISABLE(s, adspgen_lock);
        while (queue_item) { 
                if ((*compare_fnx)(queue_item,match)) 
                        break;
                
                queue_item = queue_item->ccbLink;
        }
-       ATENABLE(s, adspgen_lock);
 
        return (queue_item);
 }