Remove debug code which referenced an old global variable.
authorKeith Whitwell <keith@tungstengraphics.com>
Tue, 21 Dec 2004 23:07:13 +0000 (23:07 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Tue, 21 Dec 2004 23:07:13 +0000 (23:07 +0000)
src/mesa/drivers/dri/unichrome/via_ioctl.c

index 9286501..58a3012 100644 (file)
@@ -1469,6 +1469,8 @@ int flush_sys(viaContextPtr vmesa, drm_via_flush_sys_t* buf)
        }
 
     }
+
+#if 0
     /*=* John Sheng [2003.6.20] debug pci *=*/
     if (VIA_DEBUG) {
         GLuint *pnEngBase = (GLuint *)((GLuint)pnMMIOBase + 0x400);
@@ -1520,5 +1522,7 @@ int flush_sys(viaContextPtr vmesa, drm_via_flush_sys_t* buf)
         }
     }
     dmaLow = vmesa->dmaLow; 
+#endif
+
     return 0;
 }