Loading...
iokit/Kernel/IOLocks.cpp xnu-4570.71.2 xnu-3789.31.2
--- xnu/xnu-4570.71.2/iokit/Kernel/IOLocks.cpp
+++ xnu/xnu-3789.31.2/iokit/Kernel/IOLocks.cpp
@@ -80,7 +80,6 @@
 	thread_wakeup_prim((event_t) event, oneThread, THREAD_AWAKENED);
 }   
 
-
 #if defined(__x86_64__)
 /*
  * For backwards compatibility, kexts built against pre-Darwin 14 headers will bind at runtime to this function,
@@ -309,30 +308,6 @@
     return( (lck_spin_t *)lock);
 }
 
-#ifndef IOLOCKS_INLINE
-/*
- * Lock assertions
- */
-
-void
-IOLockAssert(IOLock * lock, IOLockAssertState type)
-{
-    LCK_MTX_ASSERT(lock, type);
-}
-
-void
-IORWLockAssert(IORWLock * lock, IORWLockAssertState type)
-{
-    LCK_RW_ASSERT(lock, type);
-}
-
-void
-IOSimpleLockAssert(IOSimpleLock *lock, IOSimpleLockAssertState type)
-{
-    LCK_SPIN_ASSERT(l, type);
-}
-#endif /* !IOLOCKS_INLINE */
-
 } /* extern "C" */