7084842c1c
- Fix (hopefully) various crashes in FlushAllOutput() (rhbz#1382444) - Fix Xwayland crashing in glamor on non glamor capable hw (rhbz#1390018)
32 lines
1.0 KiB
Diff
32 lines
1.0 KiB
Diff
From c17e544b271ced65483692103d39ed1188d4ca25 Mon Sep 17 00:00:00 2001
|
|
From: Hans de Goede <hdegoede@redhat.com>
|
|
Date: Tue, 27 Sep 2016 14:30:10 +0200
|
|
Subject: [PATCH xserver v2 5/7] xfree86: Remove redundant ServerIsNotSeat0
|
|
check from xf86CallDriverProbe
|
|
|
|
If foundScreen is TRUE, then all the code below the removed if
|
|
will not execute until we reach the return foundScreen; at the
|
|
end, so this entire if block is redundant.
|
|
|
|
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
|
---
|
|
hw/xfree86/common/xf86Bus.c | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
diff --git a/hw/xfree86/common/xf86Bus.c b/hw/xfree86/common/xf86Bus.c
|
|
index 5b93940..27c6b1b 100644
|
|
--- a/hw/xfree86/common/xf86Bus.c
|
|
+++ b/hw/xfree86/common/xf86Bus.c
|
|
@@ -82,8 +82,6 @@ xf86CallDriverProbe(DriverPtr drv, Bool detect_only)
|
|
if (!xf86DoConfigure && drv->platformProbe != NULL) {
|
|
foundScreen = xf86platformProbeDev(drv);
|
|
}
|
|
- if (ServerIsNotSeat0() && foundScreen)
|
|
- return foundScreen;
|
|
#endif
|
|
|
|
#ifdef XSERVER_LIBPCIACCESS
|
|
--
|
|
2.9.3
|
|
|