From: Pauli Nieminen <[email protected]>

This reduces about 1us runtime for each main loop iteration on ARM.

Signed-off-by: Pauli Nieminen <[email protected]>
---
 hw/vfb/InitOutput.c |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diff --git a/hw/vfb/InitOutput.c b/hw/vfb/InitOutput.c
index e109734..e2ef194 100644
--- a/hw/vfb/InitOutput.c
+++ b/hw/vfb/InitOutput.c
@@ -546,13 +546,6 @@ vfbBlockHandler(pointer blockData, OSTimePtr pTimeout, 
pointer pReadmask)
     }
 }
 
-
-static void
-vfbWakeupHandler(pointer blockData, int result, pointer pReadmask)
-{
-}
-
-
 static void
 vfbAllocateMmappedFramebuffer(vfbScreenInfoPtr pvfb)
 {
@@ -599,8 +592,7 @@ vfbAllocateMmappedFramebuffer(vfbScreenInfoPtr pvfb)
        return;
     }
 
-    if (!RegisterBlockAndWakeupHandlers(vfbBlockHandler, vfbWakeupHandler,
-                                       NULL))
+    if (!RegisterBlockHandler(vfbBlockHandler, NULL))
     {
        pvfb->pXWDHeader = NULL;
     }
-- 
1.7.0.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to