Remove check for useSIGIO option
Commit6a5a4e6037
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>
This commit is contained in:
parent
95539ab37b
commit
36e353bcf4
|
@ -78,7 +78,6 @@ typedef struct {
|
||||||
Bool miscModInDevEnabled; /* Allow input devices to be
|
Bool miscModInDevEnabled; /* Allow input devices to be
|
||||||
* changed */
|
* changed */
|
||||||
Bool miscModInDevAllowNonLocal;
|
Bool miscModInDevAllowNonLocal;
|
||||||
Bool useSIGIO; /* Use SIGIO for handling DRI1 swaps */
|
|
||||||
Bool pmFlag;
|
Bool pmFlag;
|
||||||
MessageType iglxFrom;
|
MessageType iglxFrom;
|
||||||
XF86_GlxVisuals glxVisuals;
|
XF86_GlxVisuals glxVisuals;
|
||||||
|
|
|
@ -185,9 +185,6 @@ xf86InstallSIGIOHandler(int fd, void (*f) (int, void *), void *closure)
|
||||||
int i;
|
int i;
|
||||||
int installed = FALSE;
|
int installed = FALSE;
|
||||||
|
|
||||||
if (!xf86Info.useSIGIO)
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
for (i = 0; i < MAX_FUNCS; i++) {
|
for (i = 0; i < MAX_FUNCS; i++) {
|
||||||
if (!xf86SigIOFuncs[i].f) {
|
if (!xf86SigIOFuncs[i].f) {
|
||||||
if (xf86IsPipe(fd))
|
if (xf86IsPipe(fd))
|
||||||
|
@ -257,9 +254,6 @@ xf86RemoveSIGIOHandler(int fd)
|
||||||
int max;
|
int max;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
if (!xf86Info.useSIGIO)
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
max = 0;
|
max = 0;
|
||||||
ret = 0;
|
ret = 0;
|
||||||
for (i = 0; i < MAX_FUNCS; i++) {
|
for (i = 0; i < MAX_FUNCS; i++) {
|
||||||
|
|
Loading…
Reference in New Issue