summaryrefslogtreecommitdiff
path: root/src/wcmISDV4.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wcmISDV4.c')
-rw-r--r--src/wcmISDV4.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/wcmISDV4.c b/src/wcmISDV4.c
index d341a22..61275d2 100644
--- a/src/wcmISDV4.c
+++ b/src/wcmISDV4.c
@@ -144,8 +144,6 @@ static int wcmSerialValidate(LocalDevicePtr local, const unsigned char* data)
static Bool isdv4Detect(LocalDevicePtr local)
{
- WacomDevicePtr priv = (WacomDevicePtr) local->private;
- WacomCommonPtr common = priv->common;
struct serial_struct ser;
int rc;
@@ -153,9 +151,6 @@ static Bool isdv4Detect(LocalDevicePtr local)
if (rc == -1)
return FALSE;
- /* only ISDV4 are supported on X server 1.7 and later */
- common->wcmForceDevice = DEVICE_ISDV4;
-
return TRUE;
}