summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorPrabhu Sundararaj <prabhu.sundararaj@nxp.com>2020-11-25 08:02:41 +0100
committerAdam Jackson <ajax@redhat.com>2020-12-08 11:23:31 -0500
commit36e353bcf428c4e6a31292ffa749ea6395cba4a3 (patch)
tree00c7e8918f6582bce85c8daaa6b88f297b016ed7 /hw
parent95539ab37baa1292d1f2daaa552f9741b0364cad (diff)
Remove check for useSIGIO option
Commit 6a5a4e60373c1386b311b2a8bb666c32d68a9d99 removed the option to configure useSIGIO option. Indeed, the xfree86 SIGIO support was reworked to use internal versions of OsBlockSIGIO and OsReleaseSIGIO. As a result, useSIGIO is no longer needed and can dropped Fixes: 6a5a4e60 - Remove SIGIO support for input [v5] Closes: xorg/xserver#1107 Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@nxp.com> Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/common/xf86Privstr.h1
-rw-r--r--hw/xfree86/os-support/shared/sigio.c6
2 files changed, 0 insertions, 7 deletions
diff --git a/hw/xfree86/common/xf86Privstr.h b/hw/xfree86/common/xf86Privstr.h
index 914f04f67..31861148f 100644
--- a/hw/xfree86/common/xf86Privstr.h
+++ b/hw/xfree86/common/xf86Privstr.h
@@ -78,7 +78,6 @@ typedef struct {
Bool miscModInDevEnabled; /* Allow input devices to be
* changed */
Bool miscModInDevAllowNonLocal;
- Bool useSIGIO; /* Use SIGIO for handling DRI1 swaps */
Bool pmFlag;
MessageType iglxFrom;
XF86_GlxVisuals glxVisuals;
diff --git a/hw/xfree86/os-support/shared/sigio.c b/hw/xfree86/os-support/shared/sigio.c
index ccf9d89d7..ad8af6093 100644
--- a/hw/xfree86/os-support/shared/sigio.c
+++ b/hw/xfree86/os-support/shared/sigio.c
@@ -185,9 +185,6 @@ xf86InstallSIGIOHandler(int fd, void (*f) (int, void *), void *closure)
int i;
int installed = FALSE;
- if (!xf86Info.useSIGIO)
- return 0;
-
for (i = 0; i < MAX_FUNCS; i++) {
if (!xf86SigIOFuncs[i].f) {
if (xf86IsPipe(fd))
@@ -257,9 +254,6 @@ xf86RemoveSIGIOHandler(int fd)
int max;
int ret;
- if (!xf86Info.useSIGIO)
- return 0;
-
max = 0;
ret = 0;
for (i = 0; i < MAX_FUNCS; i++) {