From patchwork Mon Feb 11 10:31:18 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mika Westerberg X-Patchwork-Id: 2123731 X-Patchwork-Delegate: jikos@jikos.cz Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 3608CE00C6 for ; Mon, 11 Feb 2013 10:30:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754953Ab3BKKao (ORCPT ); Mon, 11 Feb 2013 05:30:44 -0500 Received: from mga11.intel.com ([192.55.52.93]:32422 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755203Ab3BKKaB (ORCPT ); Mon, 11 Feb 2013 05:30:01 -0500 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 11 Feb 2013 02:30:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,641,1355126400"; d="scan'208";a="285646383" Received: from blue.fi.intel.com ([10.237.72.156]) by fmsmga001.fm.intel.com with ESMTP; 11 Feb 2013 02:29:58 -0800 Received: by blue.fi.intel.com (Postfix, from userid 1004) id 53281E0083; Mon, 11 Feb 2013 12:31:19 +0200 (EET) From: Mika Westerberg To: linux-kernel@vger.kernel.org Cc: Jiri Kosina , Benjamin Tissoires , linux-input@vger.kernel.org, srinivas.pandruvada@intel.com, Mika Westerberg Subject: [PATCH 2/3] HID: sensor-hub: get rid of unused sensor_hub_grabbed_usages[] table Date: Mon, 11 Feb 2013 12:31:18 +0200 Message-Id: <1360578679-7029-2-git-send-email-mika.westerberg@linux.intel.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1360578679-7029-1-git-send-email-mika.westerberg@linux.intel.com> References: <1360578679-7029-1-git-send-email-mika.westerberg@linux.intel.com> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org This table is not used anywhere in the driver so kill it. Signed-off-by: Mika Westerberg --- drivers/hid/hid-sensor-hub.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/hid/hid-sensor-hub.c b/drivers/hid/hid-sensor-hub.c index c06e933..2643bce9 100644 --- a/drivers/hid/hid-sensor-hub.c +++ b/drivers/hid/hid-sensor-hub.c @@ -608,11 +608,6 @@ static const struct hid_device_id sensor_hub_devices[] = { }; MODULE_DEVICE_TABLE(hid, sensor_hub_devices); -static const struct hid_usage_id sensor_hub_grabbed_usages[] = { - { HID_ANY_ID, HID_ANY_ID, HID_ANY_ID }, - { HID_ANY_ID - 1, HID_ANY_ID - 1, HID_ANY_ID - 1 } -}; - static struct hid_driver sensor_hub_driver = { .name = "hid-sensor-hub", .id_table = sensor_hub_devices,