summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-08-19 15:12:39 -0400
committerAdam Jackson <ajax@redhat.com>2008-08-19 15:12:39 -0400
commit38bdc34d555f956a1ff1e1bb8eef95e3ba2bac64 (patch)
tree5d9c6649ac9410cc3f7e4d0e61ef720df3b68b44
parent47b31233c26f710be70ffcca17e5402d03d5733f (diff)
Remove redundant check.
-rw-r--r--hw/xfree86/common/xf86Init.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
index 88c5a8730..01f239565 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)
{