Received: by 10.223.164.221 with SMTP id h29csp138728wrb; Fri, 3 Nov 2017 06:52:01 -0700 (PDT) X-Google-Smtp-Source: ABhQp+SP1+1d/pKK0U+nDcjuoW7U+pv8GxipYFGaqsA8GcMav6wqCdMwjSk35GpKUrr0TZoh6Xya X-Received: by 10.99.7.208 with SMTP id 199mr7113474pgh.158.1509717120997; Fri, 03 Nov 2017 06:52:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509717120; cv=none; d=google.com; s=arc-20160816; b=V3ZQ0pxi6HcM99bfleKwz79l7f2xbe9ByS7kYcDpTTidG7LF/WihxW/QaeH/RrE96j QS8OZ86PTv6Hz6iUxoivApcVByMW8uR1Jk/mFC3yfIQttL56StIESqMVeJ4UQse/TAku 8uqYEax3oJ9fmg1RnafvEe2a1Qr4T4e2YPcEQFCmJFJxlNYqOeuqxwlZ/XTlQHq2K4ZD 4OdKMmjMpmqTzoUDpzjr63rfB3C2s2mFCFb+oeH0UzaFdg7BJLgJYOhJEWHN4f9TWHCl wXdyvUEbKq9+ytASZyzy8/ctWjKZxEy0YxnXjVd0RCu+NLxgbIGc5iSbT+z5XfqRB6jB MOmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=y9HM6WZXVtmQ9ENSFnv7fi7xcbdWfiWcpGVwFkqcnVw=; b=OUC+zCDM9On7/hb5OTZXx978tEv4Um8xdbcLd2dYr6GVbroG3P09zqeKbYohAuPEgh ca/Jy/fOmNX8fQhgONc0m+b/YwXjUhTeISF5js7gKrda/+aFYO9UoRCydXURMKLHdxYs 2acYrRkyc+128x2glVOwVE2oZyb3yADAKLA/rp2rYj0XB6qIO36f6CsaCnuNHgIaZ1ij jvm0dlIYI6nsum40iw/b5/XSDJjywyoEGmE3fSQ+APG94929HNzhzLpWPu4gqdfE5DoI GN75WweGMi30CErjZNRT1cJ/rgwvJKZVdccO1o7c9AtL0+at3+QfihUZcywkh2NpiMta 5S6w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r1si4485697plb.531.2017.11.03.06.51.48; Fri, 03 Nov 2017 06:52:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756236AbdKCNua (ORCPT + 95 others); Fri, 3 Nov 2017 09:50:30 -0400 Received: from bastet.se.axis.com ([195.60.68.11]:51616 "EHLO bastet.se.axis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756473AbdKCNs2 (ORCPT ); Fri, 3 Nov 2017 09:48:28 -0400 Received: from localhost (localhost [127.0.0.1]) by bastet.se.axis.com (Postfix) with ESMTP id 3967B18968; Fri, 3 Nov 2017 14:48:27 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at bastet.se.axis.com Received: from bastet.se.axis.com ([IPv6:::ffff:127.0.0.1]) by localhost (bastet.se.axis.com [::ffff:127.0.0.1]) (amavisd-new, port 10024) with LMTP id eK4uw2a2zru7; Fri, 3 Nov 2017 14:48:25 +0100 (CET) Received: from boulder02.se.axis.com (boulder02.se.axis.com [10.0.8.16]) by bastet.se.axis.com (Postfix) with ESMTPS id 52AF418920; Fri, 3 Nov 2017 14:48:25 +0100 (CET) Received: from boulder02.se.axis.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 40D7B1A08A; Fri, 3 Nov 2017 14:48:25 +0100 (CET) Received: from boulder02.se.axis.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3508D1A088; Fri, 3 Nov 2017 14:48:25 +0100 (CET) Received: from seth.se.axis.com (unknown [10.0.2.172]) by boulder02.se.axis.com (Postfix) with ESMTP; Fri, 3 Nov 2017 14:48:25 +0100 (CET) Received: from lnxartpec1.se.axis.com (lnxartpec1.se.axis.com [10.88.4.10]) by seth.se.axis.com (Postfix) with ESMTP id 281B42629; Fri, 3 Nov 2017 14:48:25 +0100 (CET) Received: by lnxartpec1.se.axis.com (Postfix, from userid 20283) id 2241B40101; Fri, 3 Nov 2017 14:48:25 +0100 (CET) From: Niklas Cassel To: Niklas Cassel , Jesper Nilsson , Bjorn Helgaas Cc: linux-arm-kernel@axis.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 10/17] PCI: dwc: artpec6: Remove unused defines Date: Fri, 3 Nov 2017 14:47:14 +0100 Message-Id: <20171103134722.5532-11-niklas.cassel@axis.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171103134722.5532-1-niklas.cassel@axis.com> References: <20171103134722.5532-1-niklas.cassel@axis.com> X-TM-AS-GCONF: 00 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit b015b37e6693 ("PCI: artpec6: Stop enabling writes to DBI read-only registers") removed the only write using these defines, but it did not remove the defines. Remove the defines since they are now unused. Signed-off-by: Niklas Cassel --- drivers/pci/dwc/pcie-artpec6.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/pci/dwc/pcie-artpec6.c b/drivers/pci/dwc/pcie-artpec6.c index 6653619db6a1..4b8ef266dc2f 100644 --- a/drivers/pci/dwc/pcie-artpec6.c +++ b/drivers/pci/dwc/pcie-artpec6.c @@ -37,9 +37,6 @@ struct artpec6_pcie { #define PCIE_PHY_DEBUG_R0 (PL_OFFSET + 0x28) #define PCIE_PHY_DEBUG_R1 (PL_OFFSET + 0x2c) -#define MISC_CONTROL_1_OFF (PL_OFFSET + 0x1bc) -#define DBI_RO_WR_EN 1 - /* ARTPEC-6 specific registers */ #define PCIECFG 0x18 #define PCIECFG_DBG_OEN (1 << 24) -- 2.14.2 From 1583053719170308381@xxx Fri Nov 03 14:01:13 +0000 2017 X-GM-THRID: 1583053719170308381 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread