summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-04-01 19:07:37 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-04-01 19:07:37 +0000
commit0cf1f3d7a7c5d6de4df2f1c69390186efdba5ce9 (patch)
tree5e2a1002780f5d7c33dc6c2b811951f5ed059884 /driver
parentf64ba024c042010749fe7ea9d7efe60de43e3687 (diff)
Remore a workaround for an old bug in XFree86 4.1 that doesn't exist
anymore, and that is now causing spam in Xorg.0.log. Reported by Stuart Henderson. Thanks.
Diffstat (limited to 'driver')
-rw-r--r--driver/openbsd-input-usbtablet/src/usbtablet.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/driver/openbsd-input-usbtablet/src/usbtablet.c b/driver/openbsd-input-usbtablet/src/usbtablet.c
index cbb78e893..4d3cff6fd 100644
--- a/driver/openbsd-input-usbtablet/src/usbtablet.c
+++ b/driver/openbsd-input-usbtablet/src/usbtablet.c
@@ -24,7 +24,7 @@
* SUCH DAMAGE.
*/
-/* $OpenBSD: usbtablet.c,v 1.1 2006/11/26 22:29:40 matthieu Exp $ */
+/* $OpenBSD: usbtablet.c,v 1.2 2007/04/01 19:07:36 matthieu Exp $ */
/*
* Driver for USB HID tablet devices.
@@ -363,11 +363,6 @@ UsbTabletReadInput(InputInfoPtr pInfo)
pInfo->fd, comm->reportSize));
len = xf86ReadSerial(pInfo->fd, p, comm->reportSize);
-#ifdef XFree86LOADER
- /* XXX there's a bug in XFree86 4.1 that requires this magic */
- /* It's fixed in 4.2 */
- errno = xf86GetErrno();
-#endif
DBG(8, ErrorF("UsbTabletReadInput len=%d\n", len));
if (len <= 0) {