Index: /trunk/include/VBox/vmm.h
===================================================================
--- /trunk/include/VBox/vmm.h	(revision 29904)
+++ /trunk/include/VBox/vmm.h	(revision 29905)
@@ -81,6 +81,4 @@
     /** Acquire the PDM lock. */
     VMMCALLRING3_PDM_LOCK,
-    /** Call PDMR3QueueFlushWorker. */
-    VMMCALLRING3_PDM_QUEUE_FLUSH,
     /** Acquire the PGM lock. */
     VMMCALLRING3_PGM_LOCK,
Index: /trunk/src/VBox/VMM/PDMQueue.cpp
===================================================================
--- /trunk/src/VBox/VMM/PDMQueue.cpp	(revision 29904)
+++ /trunk/src/VBox/VMM/PDMQueue.cpp	(revision 29905)
@@ -712,9 +712,9 @@
     RTR0PTR           pItemsR0 = ASMAtomicXchgR0Ptr(&pQueue->pPendingR0, NIL_RTR0PTR);
 
-    if (    !pItems
-        &&  !pItemsRC
-        &&  !pItemsR0)
-        /* Somebody may be racing us ... never mind. */
-        return true;
+    AssertMsgReturn(   pItemsR0
+                    || pItemsRC
+                    || pItems,
+                    ("Someone is racing us? This shouldn't happen!\n"),
+                    true);
 
     /*
@@ -895,7 +895,7 @@
     Assert(pTimer == pQueue->pTimer); NOREF(pTimer);
 
-    if (    pQueue->pPendingR3
-        ||  pQueue->pPendingR0
-        ||  pQueue->pPendingRC)
+    if (   pQueue->pPendingR3
+        || pQueue->pPendingR0
+        || pQueue->pPendingRC)
         pdmR3QueueFlush(pQueue);
     int rc = TMTimerSetMillies(pQueue->pTimer, pQueue->cMilliesInterval);
