summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-08-20 13:29:25 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-08-20 15:10:05 -0700
commitf93c927178a352eec00b3323eb935cc6f27243b0 (patch)
tree51d6f203be3aa2edc190b5d52762b43f1c0bfd39
parent1be9e3cf0c491cddfb5985b6b3cc65581313f98f (diff)
Remove check for OS/2
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-rw-r--r--src/mouse.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mouse.c b/src/mouse.c
index 8bd659e..aff2512 100644
--- a/src/mouse.c
+++ b/src/mouse.c
@@ -1007,10 +1007,6 @@ MousePreInit(InputDriverPtr drv, IDevPtr dev, int flags)
xf86CollectInputOptions(pInfo, pProto->defaults, NULL);
xf86ProcessCommonOptions(pInfo, pInfo->options);
- /* XXX should handle this OS dependency elsewhere. */
-#ifndef __OS2ELF__
- /* OS/2 has a mouse handled by the OS - it cannot fail here */
-
/* Check if the device can be opened. */
pInfo->fd = xf86OpenSerial(pInfo->options);
if (pInfo->fd == -1) {
@@ -1026,7 +1022,6 @@ MousePreInit(InputDriverPtr drv, IDevPtr dev, int flags)
}
}
xf86CloseSerial(pInfo->fd);
-#endif
pInfo->fd = -1;
if (!(mPriv = (pointer) xcalloc(sizeof(mousePrivRec), 1)))