Index: /trunk/src/VBox/Devices/Audio/DevHDA.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/DevHDA.cpp	(revision 65069)
+++ /trunk/src/VBox/Devices/Audio/DevHDA.cpp	(revision 65070)
@@ -1356,5 +1356,4 @@
     return rc;
 }
-#endif /* IN_RING3 */
 
 
@@ -1379,5 +1378,4 @@
 
 
-#ifdef IN_RING3
 /**
  * Returns the HDA stream of specified HDA sink.
@@ -4856,9 +4854,4 @@
         const uint32_t uSDCTL = HDA_STREAM_REG(pThis, CTL, HDA_SD_NUM_FROM_REG(pThis, CTL, idxRegDsc));
 
-#ifdef LOG_ENABLED
-        PHDASTREAM pStream = hdaStreamGetFromSD(pThis, HDA_SD_NUM_FROM_REG(pThis, CTL, idxRegDsc));
-        Log3(("hdaWriteReg: %s: fInReset=%RTbool, %R[sdctl]\n",
-              g_aHdaRegMap[idxRegDsc].abbrev, pStream ? ASMAtomicReadBool(&pStream->State.fInReset) : false, uSDCTL));
-#endif
         /*
          * Some OSes (like Win 10 AU) violate the spec by writing stuff to registers which are not supposed to be be touched
