From 0cf1f3d7a7c5d6de4df2f1c69390186efdba5ce9 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sun, 1 Apr 2007 19:07:37 +0000 Subject: 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. --- driver/openbsd-input-usbtablet/src/usbtablet.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'driver') 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) { -- cgit v1.2.3