diff options
Diffstat (limited to 'drivers/input/tablet/wacom_sys.c')
-rw-r--r-- | drivers/input/tablet/wacom_sys.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/input/tablet/wacom_sys.c b/drivers/input/tablet/wacom_sys.c index ab498e480f3b..2fe21d1a18b7 100644 --- a/drivers/input/tablet/wacom_sys.c +++ b/drivers/input/tablet/wacom_sys.c | |||
@@ -315,13 +315,6 @@ static int wacom_parse_hid(struct usb_interface *intf, | |||
315 | get_unaligned_le16(&report[i + 3]); | 315 | get_unaligned_le16(&report[i + 3]); |
316 | i += 4; | 316 | i += 4; |
317 | } | 317 | } |
318 | } else if (usage == WCM_DIGITIZER) { | ||
319 | /* max pressure isn't reported | ||
320 | features->pressure_max = (unsigned short) | ||
321 | (report[i+4] << 8 | report[i + 3]); | ||
322 | */ | ||
323 | features->pressure_max = 255; | ||
324 | i += 4; | ||
325 | } | 318 | } |
326 | break; | 319 | break; |
327 | 320 | ||
@@ -380,13 +373,6 @@ static int wacom_parse_hid(struct usb_interface *intf, | |||
380 | pen = 1; | 373 | pen = 1; |
381 | i++; | 374 | i++; |
382 | break; | 375 | break; |
383 | |||
384 | case HID_USAGE_UNDEFINED: | ||
385 | if (usage == WCM_DESKTOP && finger) /* capacity */ | ||
386 | features->pressure_max = | ||
387 | get_unaligned_le16(&report[i + 3]); | ||
388 | i += 4; | ||
389 | break; | ||
390 | } | 376 | } |
391 | break; | 377 | break; |
392 | 378 | ||