Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753220Ab1DBGzT (ORCPT ); Sat, 2 Apr 2011 02:55:19 -0400 Received: from mail-iw0-f174.google.com ([209.85.214.174]:40464 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752339Ab1DBGyw (ORCPT ); Sat, 2 Apr 2011 02:54:52 -0400 From: Jeff Brown To: dmitry.torokhov@gmail.com, rydberg@euromail.se, djkurtz@google.com Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Jeff Brown , jeffbrown@android.com Subject: [PATCH v2 2/4] hid: hid-input: Remove obsolete default events per packet setting. Date: Fri, 1 Apr 2011 23:54:17 -0700 Message-Id: <1301727259-5185-2-git-send-email-jeffbrown@android.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1301727259-5185-1-git-send-email-jeffbrown@android.com> References: <1301727259-5185-1-git-send-email-jeffbrown@android.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1063 Lines: 33 From: Jeff Brown The hardcoded default is no longer needed because the input core now calculates an appropriate value when the input device is registered. Signed-off-by: jeffbrown@android.com --- drivers/hid/hid-input.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index 33dde87..4b348e0 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c @@ -665,10 +665,6 @@ mapped: input_abs_set_res(input, usage->code, hidinput_calc_abs_res(field, usage->code)); - - /* use a larger default input buffer for MT devices */ - if (usage->code == ABS_MT_POSITION_X && input->hint_events_per_packet == 0) - input_set_events_per_packet(input, 60); } if (usage->type == EV_ABS && -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/