Received: by 10.223.164.202 with SMTP id h10csp3816099wrb; Mon, 20 Nov 2017 05:34:25 -0800 (PST) X-Google-Smtp-Source: AGs4zMbwJ6quYMjDDDrkz53AQZwN2MhyjO0QikbaLksNot2zHfy7wG1QRw2fLgPg7aRJWGOHuo3t X-Received: by 10.99.135.199 with SMTP id i190mr13272243pge.356.1511184864950; Mon, 20 Nov 2017 05:34:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511184864; cv=none; d=google.com; s=arc-20160816; b=ve58hQbiT6BnsFdgEPN/MKNzereGBxt/bGr5/zCViYTL+K8bno9ZoRazUMj7zM40XO T+RGHuTupO5RNzk3pPZdbwD7IogBaw9Yjz/pELPgHqE4Tcj/OWkI5QddqOIUJRanTK+w x0za2zOlPe0JxU5KMJ3jJCQa6avTQ0ULX2bGRtRB3rY37xoTyw9kpUw5+jjZg/47n6+L yTTIBWepcKBvPBASDLsU96JkG27Lg9hlHEPm54bRsQc87h/8LGE3mK4BrdGI/hA0DfIa /S8/b9Y2szpkdTeGZIZcBgwVYsPUBMG3A0BQyT+meGFBzYxu9DGFq8vSmVGtiz98Gc4/ OQkQ== 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=msLttEF3vhk1OXspZ0TdMKb9tzELL04SAJDArc/e5Ao6U5FqeNaWXi/81GJn0BXJRe +ABxi+29no0Rh3FV9Akz1gTwVE9z+t1wUXB3ScNYzMHlX3sdaieuPoiwVfaLP2uoaHVa yoPFoYeJSdS1Es95Hv92V6yg8br0ieRL1bgf986WU9/U1RV8iBca6ZQ8axgtndevzibX xc+2M4JX7u+go0XxuNb32SqVcJsiWNjF4YTzQdK9/TBvhFHhdhs9+YjTPAbBqart8HtC nwaWJil6LxEaBvk0HtznsWRiRcQxRYb//1T3vjezbuC61WqunfbdNLcEqiD1pLLVs6TV nf9w== 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 z11si4569685plo.449.2017.11.20.05.34.15; Mon, 20 Nov 2017 05:34:24 -0800 (PST) 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 S1751468AbdKTNda (ORCPT + 66 others); Mon, 20 Nov 2017 08:33:30 -0500 Received: from bastet.se.axis.com ([195.60.68.11]:39619 "EHLO bastet.se.axis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751370AbdKTNd1 (ORCPT ); Mon, 20 Nov 2017 08:33:27 -0500 Received: from localhost (localhost [127.0.0.1]) by bastet.se.axis.com (Postfix) with ESMTP id 34CD2180E6; Mon, 20 Nov 2017 14:33:26 +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 sCKgYp3OrmNE; Mon, 20 Nov 2017 14:33:24 +0100 (CET) Received: from boulder03.se.axis.com (boulder03.se.axis.com [10.0.8.17]) by bastet.se.axis.com (Postfix) with ESMTPS id D9EAB183AC; Mon, 20 Nov 2017 14:33:24 +0100 (CET) Received: from boulder03.se.axis.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BEEDD1E07E; Mon, 20 Nov 2017 14:33:24 +0100 (CET) Received: from boulder03.se.axis.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A605F1E07C; Mon, 20 Nov 2017 14:33:24 +0100 (CET) Received: from thoth.se.axis.com (unknown [10.0.2.173]) by boulder03.se.axis.com (Postfix) with ESMTP; Mon, 20 Nov 2017 14:33:24 +0100 (CET) Received: from lnxartpec1.se.axis.com (lnxartpec1.se.axis.com [10.88.4.10]) by thoth.se.axis.com (Postfix) with ESMTP id 9642819AA; Mon, 20 Nov 2017 14:33:24 +0100 (CET) Received: by lnxartpec1.se.axis.com (Postfix, from userid 20283) id 9284A400FE; Mon, 20 Nov 2017 14:33:24 +0100 (CET) From: Niklas Cassel To: Niklas Cassel , Jesper Nilsson , Lorenzo Pieralisi , Bjorn Helgaas Cc: linux-arm-kernel@axis.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 10/18] PCI: dwc: artpec6: Remove unused defines Date: Mon, 20 Nov 2017 14:32:13 +0100 Message-Id: <20171120133222.27771-11-niklas.cassel@axis.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171120133222.27771-1-niklas.cassel@axis.com> References: <20171120133222.27771-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 1584567454671683226@xxx Mon Nov 20 07:01:24 +0000 2017 X-GM-THRID: 1584207726806216160 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread