Index: /trunk/src/VBox/Devices/Audio/DevHDA.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/DevHDA.cpp	(revision 87808)
+++ /trunk/src/VBox/Devices/Audio/DevHDA.cpp	(revision 87809)
@@ -1559,5 +1559,4 @@
 
     PHDASTREAMPERIOD pPeriod = &pStreamShared->State.Period;
-    hdaR3StreamPeriodLock(pPeriod);
     if (hdaR3StreamPeriodNeedsInterrupt(pPeriod))
         hdaR3StreamPeriodReleaseInterrupt(pPeriod);
@@ -1575,5 +1574,4 @@
             hdaR3StreamPeriodBegin(pPeriod, hdaWalClkGetCurrent(pThis) /* Use current wall clock time */);
     }
-    hdaR3StreamPeriodUnlock(pPeriod); /* Unlock before processing interrupt. */
 
     HDA_PROCESS_INTERRUPT(pDevIns, pThis);
Index: /trunk/src/VBox/Devices/Audio/HDAStream.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/HDAStream.cpp	(revision 87808)
+++ /trunk/src/VBox/Devices/Audio/HDAStream.cpp	(revision 87809)
@@ -1099,5 +1099,4 @@
 
     PHDASTREAMPERIOD pPeriod = &pStreamShared->State.Period;
-    hdaR3StreamPeriodLock(pPeriod);
 
     bool fProceed = true;
@@ -1122,5 +1121,4 @@
     if (!fProceed)
     {
-        hdaR3StreamPeriodUnlock(pPeriod);
         hdaR3StreamUnlock(pStreamR3);
         return VINF_SUCCESS;
@@ -1583,5 +1581,4 @@
     LogFlowFuncLeave();
 
-    hdaR3StreamPeriodUnlock(pPeriod);
     hdaR3StreamUnlock(pStreamR3);
 
Index: /trunk/src/VBox/Devices/Audio/HDAStreamPeriod.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/HDAStreamPeriod.cpp	(revision 87808)
+++ /trunk/src/VBox/Devices/Audio/HDAStreamPeriod.cpp	(revision 87809)
@@ -223,37 +223,4 @@
 
     Log3Func(("[SD%RU8]\n", pPeriod->u8SD));
-}
-
-/**
- * Locks a stream period for serializing access.
- *
- * @returns IPRT status code (safe to ignore, asserted).
- * @param   pPeriod             Stream period to lock.
- */
-int hdaR3StreamPeriodLock(PHDASTREAMPERIOD pPeriod)
-{
-# ifdef HDA_STREAM_PERIOD_WITH_LOCKING
-    int rc = RTCritSectEnter(&pPeriod->CritSect);
-    AssertRC(rc);
-    return rc;
-# else
-    RT_NOREF(pPeriod);
-    return VINF_SUCCESS;
-# endif
-}
-
-/**
- * Unlocks a formerly locked stream period.
- *
- * @param   pPeriod             Stream period to unlock.
- */
-void hdaR3StreamPeriodUnlock(PHDASTREAMPERIOD pPeriod)
-{
-# ifdef HDA_STREAM_PERIOD_WITH_LOCKING
-    int rc2 = RTCritSectLeave(&pPeriod->CritSect);
-    AssertRC(rc2);
-# else
-    RT_NOREF(pPeriod);
-# endif
 }
 
Index: /trunk/src/VBox/Devices/Audio/HDAStreamPeriod.h
===================================================================
--- /trunk/src/VBox/Devices/Audio/HDAStreamPeriod.h	(revision 87808)
+++ /trunk/src/VBox/Devices/Audio/HDAStreamPeriod.h	(revision 87809)
@@ -99,6 +99,4 @@
 void     hdaR3StreamPeriodPause(PHDASTREAMPERIOD pPeriod);
 void     hdaR3StreamPeriodResume(PHDASTREAMPERIOD pPeriod);
-int      hdaR3StreamPeriodLock(PHDASTREAMPERIOD pPeriod);
-void     hdaR3StreamPeriodUnlock(PHDASTREAMPERIOD pPeriod);
 uint64_t hdaR3StreamPeriodFramesToWalClk(PHDASTREAMPERIOD pPeriod, uint32_t uFrames);
 uint64_t hdaR3StreamPeriodGetAbsEndWalClk(PHDASTREAMPERIOD pPeriod);
