Index: /trunk/src/VBox/Devices/Audio/coreaudio.c
===================================================================
--- /trunk/src/VBox/Devices/Audio/coreaudio.c	(revision 54116)
+++ /trunk/src/VBox/Devices/Audio/coreaudio.c	(revision 54117)
@@ -300,5 +300,5 @@
         return err;
     pRange = RTMemAllocZ(cSize);
-    if (RT_VALID_PTR(pRange))
+    if (pRange)
     {
         err = AudioDeviceGetProperty(device,
Index: /trunk/src/VBox/Storage/VD.cpp
===================================================================
--- /trunk/src/VBox/Storage/VD.cpp	(revision 54116)
+++ /trunk/src/VBox/Storage/VD.cpp	(revision 54117)
@@ -3037,5 +3037,5 @@
                  */
                 PRTSGBUF pTmp = (PRTSGBUF)RTMemAlloc(cbPreRead + cbThisWrite + cbPostRead + sizeof(RTSGSEG) + sizeof(RTSGBUF));
-                AssertBreakStmt(VALID_PTR(pTmp), rc = VERR_NO_MEMORY);
+                AssertBreakStmt(pTmp, rc = VERR_NO_MEMORY);
                 PRTSGSEG pSeg = (PRTSGSEG)(pTmp + 1);
 
Index: /trunk/src/VBox/Storage/VDI.cpp
===================================================================
--- /trunk/src/VBox/Storage/VDI.cpp	(revision 54116)
+++ /trunk/src/VBox/Storage/VDI.cpp	(revision 54117)
@@ -2427,8 +2427,8 @@
         {
             pvBuf = RTMemTmpAlloc(cbBlock);
-            AssertBreakStmt(VALID_PTR(pvBuf), rc = VERR_NO_MEMORY);
+            AssertBreakStmt(pvBuf, rc = VERR_NO_MEMORY);
         }
         pvTmp = RTMemTmpAlloc(cbBlock);
-        AssertBreakStmt(VALID_PTR(pvTmp), rc = VERR_NO_MEMORY);
+        AssertBreakStmt(pvTmp, rc = VERR_NO_MEMORY);
 
         uint64_t cbFile;
@@ -2445,5 +2445,5 @@
         /* Allocate block array for back resolving. */
         paBlocks2 = (unsigned *)RTMemAlloc(sizeof(unsigned *) * cBlocksAllocated);
-        AssertBreakStmt(VALID_PTR(paBlocks2), rc = VERR_NO_MEMORY);
+        AssertBreakStmt(paBlocks2, rc = VERR_NO_MEMORY);
         /* Fill out back resolving, check/fix allocation errors before
          * compacting the image, just to be on the safe side. Update the
Index: /trunk/src/VBox/Storage/VHD.cpp
===================================================================
--- /trunk/src/VBox/Storage/VHD.cpp	(revision 54116)
+++ /trunk/src/VBox/Storage/VHD.cpp	(revision 54117)
@@ -2462,8 +2462,8 @@
         {
             pvParent = RTMemTmpAlloc(pImage->cbDataBlock);
-            AssertBreakStmt(VALID_PTR(pvParent), rc = VERR_NO_MEMORY);
+            AssertBreakStmt(pvParent, rc = VERR_NO_MEMORY);
         }
         pvBuf = RTMemTmpAlloc(pImage->cbDataBlock);
-        AssertBreakStmt(VALID_PTR(pvBuf), rc = VERR_NO_MEMORY);
+        AssertBreakStmt(pvBuf, rc = VERR_NO_MEMORY);
 
         unsigned cBlocksAllocated = 0;
@@ -2490,5 +2490,5 @@
 
         paBlocks = (uint32_t *)RTMemTmpAllocZ(cBlocksAllocated * sizeof(uint32_t));
-        AssertBreakStmt(VALID_PTR(paBlocks), rc = VERR_NO_MEMORY);
+        AssertBreakStmt(paBlocks, rc = VERR_NO_MEMORY);
 
         /* Invalidate the back resolving array. */
@@ -2572,5 +2572,5 @@
             RTMemTmpFree(pvBuf);
             pvBuf = RTMemTmpAllocZ(cbBlock);
-            AssertBreakStmt(VALID_PTR(pvBuf), rc = VERR_NO_MEMORY);
+            AssertBreakStmt(pvBuf, rc = VERR_NO_MEMORY);
 
             for (unsigned i = 0; i < cBlocksAllocated; i++)
Index: /trunk/src/VBox/Storage/VMDK.cpp
===================================================================
--- /trunk/src/VBox/Storage/VMDK.cpp	(revision 54116)
+++ /trunk/src/VBox/Storage/VMDK.cpp	(revision 54117)
@@ -564,5 +564,5 @@
     /* If we get here, there's no matching entry in the cache. */
     pVmdkFile = (PVMDKFILE)RTMemAllocZ(sizeof(VMDKFILE));
-    if (!VALID_PTR(pVmdkFile))
+    if (!pVmdkFile)
     {
         *ppVmdkFile = NULL;
@@ -571,5 +571,5 @@
 
     pVmdkFile->pszFilename = RTStrDup(pszFilename);
-    if (!VALID_PTR(pVmdkFile->pszFilename))
+    if (!pVmdkFile->pszFilename)
     {
         RTMemFree(pVmdkFile);
