summaryrefslogtreecommitdiff
path: root/hw/xfree86/common
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2018-08-22 12:30:32 -0400
committerAdam Jackson <ajax@nwnk.net>2018-09-12 20:47:15 +0000
commitd1aeaad5c6fc614c28129f5d2717c12ff7320081 (patch)
tree0f7dcde8ed7371573214dc9167a965f95d27784b /hw/xfree86/common
parent771980fc02c79bb44e8cee48da9ba159e6baeaa6 (diff)
xfree86: Remove a fallback path we never hit
If it's really this important we should just do it and not complain. We never do it so it must not matter. Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'hw/xfree86/common')
-rw-r--r--hw/xfree86/common/xf86Init.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
index 12daa44d6..0a5af8272 100644
--- a/hw/xfree86/common/xf86Init.c
+++ b/hw/xfree86/common/xf86Init.c
@@ -538,17 +538,6 @@ InitOutput(ScreenInfo * pScreenInfo, int argc, char **argv)
return;
}
- for (i = 0; i < xf86NumScreens; i++) {
- if (xf86Screens[i]->name == NULL) {
- char *tmp;
- XNFasprintf(&tmp, "screen%d", i);
- xf86Screens[i]->name = tmp;
- xf86MsgVerb(X_WARNING, 0,
- "Screen driver %d has no name set, using `%s'.\n",
- i, xf86Screens[i]->name);
- }
- }
-
/* Remove (unload) drivers that are not required */
for (i = 0; i < xf86NumDrivers; i++)
if (xf86DriverList[i] && xf86DriverList[i]->refCount <= 0)