Merge commit 'v3.2-rc3' into next
[linux-2.6-block.git] / drivers / input / tablet / wacom_sys.c
index ab498e480f3bf4627c153972c447d24faf22e9ea..2fe21d1a18b7af9ed5b409e484b004af321e5e27 100644 (file)
@@ -315,13 +315,6 @@ static int wacom_parse_hid(struct usb_interface *intf,
                                                        get_unaligned_le16(&report[i + 3]);
                                                i += 4;
                                        }
-                               } else if (usage == WCM_DIGITIZER) {
-                                       /* max pressure isn't reported
-                                       features->pressure_max = (unsigned short)
-                                                       (report[i+4] << 8  | report[i + 3]);
-                                       */
-                                       features->pressure_max = 255;
-                                       i += 4;
                                }
                                break;
 
@@ -380,13 +373,6 @@ static int wacom_parse_hid(struct usb_interface *intf,
                                pen = 1;
                                i++;
                                break;
-
-                       case HID_USAGE_UNDEFINED:
-                               if (usage == WCM_DESKTOP && finger) /* capacity */
-                                       features->pressure_max =
-                                               get_unaligned_le16(&report[i + 3]);
-                               i += 4;
-                               break;
                        }
                        break;