From patchwork Tue Jan 3 14:46:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guenter Roeck X-Patchwork-Id: 9494963 X-Patchwork-Delegate: andy.shevchenko@gmail.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9F103606B4 for ; Tue, 3 Jan 2017 14:47:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7229427165 for ; Tue, 3 Jan 2017 14:47:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 66ED0271CB; Tue, 3 Jan 2017 14:47:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED63C27165 for ; Tue, 3 Jan 2017 14:47:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933636AbdACOqd (ORCPT ); Tue, 3 Jan 2017 09:46:33 -0500 Received: from bh-25.webhostbox.net ([208.91.199.152]:50985 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933305AbdACOq1 (ORCPT ); Tue, 3 Jan 2017 09:46:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=Message-Id:Date:Subject:Cc:To:From; bh=fhzQjMlanHNGeokS2ZFaIaXm8yEBgDXH3dMhoNNA/T4=; b=auPhtFnkM2bloyz5kpatLNiFqe q0G0e48vwIiU1KBJl/DDzcTTfmFdOFoStnFPyMsmrN+a+W8uYZV5OBnR3dYd8ghO5+/T/rPIcgXQq etVr+DbDo6csH67jyX6oibTEAmogghY7NUEhfeaASxBEPERnRo5nDnzRuS+RA2ddo4B5B5vxbsfF+ QvDmZxXN9XnaZK29lHll031LmIGsJ0gzI+i9/Y9ErfWkZl5lkMSL1ZnzVE0UmTZaZZoioShILNwKW qE3hY4HjGuldh0K36SwD5K2b6Yq7zEFUnstzKJy3C1UXXlMRVuWMON5wXyfWARIreB0ep+LzesSAp UjZnTpQw==; Received: from 108-223-40-66.lightspeed.sntcca.sbcglobal.net ([108.223.40.66]:49632 helo=localhost) by bh-25.webhostbox.net with esmtpa (Exim 4.86_1) (envelope-from ) id 1cOQM0-004EMQ-6g; Tue, 03 Jan 2017 14:46:20 +0000 From: Guenter Roeck To: Zha Qipeng Cc: Darren Hart , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Guenter Roeck Subject: [PATCH] platform/x86: intel_pmc_ipc: Remove unused iTCO_version variable Date: Tue, 3 Jan 2017 06:46:14 -0800 Message-Id: <1483454774-906-1-git-send-email-linux@roeck-us.net> X-Mailer: git-send-email 2.7.4 X-Authenticated_sender: guenter@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: guenter@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: guenter@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: platform-driver-x86-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP iTCO_version was there since the driver was introduced but never used. Drop it. Signed-off-by: Guenter Roeck --- drivers/platform/x86/intel_pmc_ipc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/platform/x86/intel_pmc_ipc.c b/drivers/platform/x86/intel_pmc_ipc.c index 0bf51d574fa9..59a86121105b 100644 --- a/drivers/platform/x86/intel_pmc_ipc.c +++ b/drivers/platform/x86/intel_pmc_ipc.c @@ -97,8 +97,6 @@ #define TCO_PMC_OFFSET 0x8 #define TCO_PMC_SIZE 0x4 -static const int iTCO_version = 3; - static struct intel_pmc_ipc_dev { struct device *dev; void __iomem *ipc_base;