From patchwork Fri Mar 4 22:07:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 8507971 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0A8889F7CA for ; Fri, 4 Mar 2016 22:08:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 364CF20260 for ; Fri, 4 Mar 2016 22:08:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5333D20122 for ; Fri, 4 Mar 2016 22:08:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759311AbcCDWIS (ORCPT ); Fri, 4 Mar 2016 17:08:18 -0500 Received: from mail-yw0-f169.google.com ([209.85.161.169]:36484 "EHLO mail-yw0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759277AbcCDWIR (ORCPT ); Fri, 4 Mar 2016 17:08:17 -0500 Received: by mail-yw0-f169.google.com with SMTP id i131so42201377ywc.3 for ; Fri, 04 Mar 2016 14:08:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=MH80oEpDGKWJI3gt1oMdqeYingm8fWxsGrGfEtlBVz0=; b=gR2ZNovSm4rl2si+KK+FcVTmSoB+x+rJ6sqLo0+/I4wN1kFPP7szAu31rPwUwnYIq7 xcBBlh9yTmli2SlwH4J0LqP9dvbYy1dPpEujPjeRjQgocgTCM4jGDWhUUD1di6TjRgRU OTEIoKxkg2PbxqfHFrwLR2t4DZX6sRK/RiDHqZSVNHkqvYnpujFi4wyFhYkOZw6dWe7G EB+cGil1sFZPRaliHRf5HgVW4pzEZmfy9P7rQ9HQ9x/HVITWA4J0qsZW0vsYCJyTYPXb MlNl5572Pm5cdaxOQ5KJxm84F5mHZLGF8UXZAD/zIOQRr5DR0+fYaISbcXoRSaPzKHHB ol1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=MH80oEpDGKWJI3gt1oMdqeYingm8fWxsGrGfEtlBVz0=; b=Kq4glIstW6Lc5VxUXgTiiquhi7n7xGECGr0WA0bO4d+aCxL39Ix5OXfQz67NYdJRxg hAJAoar2VITXZJCzVQG+vG0Yub5u+csPOt68gHVS6TdlTUL9VODrAOoZ7ziw3swsxFzQ w3wZ/Ahr9uAbArYhzJCX1XoNCR+kl/YnsxAWWZtP1s9voNM1PkdzOBXpASbluObCmt2q 4YdBHPRcaO1Ip2IhNVj42nhS0bYbv/zhCbtMIykpnY1UlXRHS4rh2OEspu8/Gd/MMZiN PpNdlKPxX6jLgv4TUI7FYl4Xvyqj/toQbmw89bCA62guNKfn2wg03Wo/A90eHtj5YUOU utFQ== X-Gm-Message-State: AD7BkJIJ1X+5oynizEmclC9etx7eLQVzGlgl1yELziAUAHzsoWxApMBZH3TNaeo1Y87LHA== X-Received: by 10.129.153.79 with SMTP id q76mr2578580ywg.43.1457129297267; Fri, 04 Mar 2016 14:08:17 -0800 (PST) Received: from localhost.localdomain ([187.64.228.119]) by smtp.gmail.com with ESMTPSA id g187sm4314021ywd.51.2016.03.04.14.08.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 04 Mar 2016 14:08:16 -0800 (PST) From: Fabio Estevam To: dmitry.torokhov@gmail.com Cc: linux-input@vger.kernel.org, Fabio Estevam Subject: [PATCH] Input: egalax_ts - remove unused definitions Date: Fri, 4 Mar 2016 19:07:58 -0300 Message-Id: <1457129278-9165-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Fabio Estevam REPORT_MODE_MOUSE and REPORT_MODE_VENDOR are never used in the driver, so let's just remove them. Signed-off-by: Fabio Estevam --- drivers/input/touchscreen/egalax_ts.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/input/touchscreen/egalax_ts.c b/drivers/input/touchscreen/egalax_ts.c index 1afc08b..a260476 100644 --- a/drivers/input/touchscreen/egalax_ts.c +++ b/drivers/input/touchscreen/egalax_ts.c @@ -29,18 +29,6 @@ #include #include -/* - * Mouse Mode: some panel may configure the controller to mouse mode, - * which can only report one point at a given time. - * This driver will ignore events in this mode. - */ -#define REPORT_MODE_MOUSE 0x1 -/* - * Vendor Mode: this mode is used to transfer some vendor specific - * messages. - * This driver will ignore events in this mode. - */ -#define REPORT_MODE_VENDOR 0x3 /* Multiple Touch Mode */ #define REPORT_MODE_MTTOUCH 0x4