16c68842b1
Signed-off-by: Jochen Friedrich <jochen@scram.de> git-svn-id: svn://svn.openwrt.org/openwrt/packages@25615 3c298f89-4303-0410-b956-a3cf2f4a3e73
35 lines
778 B
Diff
35 lines
778 B
Diff
From d99f056745e53cd2518ca169af474f8c45c1436d Mon Sep 17 00:00:00 2001
|
|
From: Gerd Hoffmann <kraxel@redhat.com>
|
|
Date: Wed, 26 Jan 2011 21:01:05 +0100
|
|
Subject: [PATCH] remove version check
|
|
|
|
---
|
|
input.c | 11 -----------
|
|
1 files changed, 0 insertions(+), 11 deletions(-)
|
|
|
|
diff --git a/input.c b/input.c
|
|
index a9bd5e8..9a6a810 100644
|
|
--- a/input.c
|
|
+++ b/input.c
|
|
@@ -96,17 +96,6 @@ int device_open(int nr, int verbose)
|
|
if (verbose)
|
|
fprintf(stderr,"%s\n",filename);
|
|
|
|
- if (-1 == ioctl(fd,EVIOCGVERSION,&version)) {
|
|
- perror("ioctl EVIOCGVERSION");
|
|
- close(fd);
|
|
- return -1;
|
|
- }
|
|
- if (EV_VERSION > version) {
|
|
- fprintf(stderr, "protocol version mismatch (expected >= %d, got %d)\n",
|
|
- EV_VERSION, version);
|
|
- close(fd);
|
|
- return -1;
|
|
- }
|
|
return fd;
|
|
}
|
|
|
|
--
|
|
1.7.2.3
|
|
|