From 36e353bcf428c4e6a31292ffa749ea6395cba4a3 Mon Sep 17 00:00:00 2001 From: Prabhu Sundararaj Date: Wed, 25 Nov 2020 08:02:41 +0100 Subject: [PATCH] Remove check for useSIGIO option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Prabhu Sundararaj Signed-off-by: Mylène Josserand Signed-off-by: Fabrice Fontaine --- hw/xfree86/common/xf86Privstr.h | 1 - hw/xfree86/os-support/shared/sigio.c | 6 ------ 2 files changed, 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++) {