xserver: Branch 'master'

Adam Jackson ajax at kemper.freedesktop.org
Tue Aug 19 12:12:41 PDT 2008


 hw/xfree86/common/xf86Init.c |    9 ---------
 1 file changed, 9 deletions(-)

New commits:
commit 38bdc34d555f956a1ff1e1bb8eef95e3ba2bac64
Author: Adam Jackson <ajax at redhat.com>
Date:   Tue Aug 19 15:12:39 2008 -0400

    Remove redundant check.

diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
index 88c5a87..01f2395 100644
--- a/hw/xfree86/common/xf86Init.c
+++ b/hw/xfree86/common/xf86Init.c
@@ -878,15 +878,6 @@ InitOutput(ScreenInfo *pScreenInfo, int argc, char **argv)
       }
     }
 
-    /*
-     * If no screens left, return now.
-     */
-
-    if (xf86NumScreens == 0) {
-      xf86Msg(X_ERROR, "Screen(s) found, but drivers were unusable.\n");
-      return;
-    }
-
     /* XXX Should this be before or after loading dependent modules? */
     if (xf86ProbeOnly)
     {


More information about the xorg-commit mailing list