Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1715594ybt; Sat, 27 Jun 2020 18:02:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDmtT98IrmP6oumLUM/RiagQ8oXrnr3wiByEDsKUVKKoj0PufXBu49ByOXR8/1jCu7Qh9e X-Received: by 2002:a17:907:7294:: with SMTP id dt20mr8267728ejc.355.1593306126011; Sat, 27 Jun 2020 18:02:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593306126; cv=none; d=google.com; s=arc-20160816; b=ANOq9wUg5Igp9/Th764A3xMKxJyt728nvqlJX6IHQkkT9MDHp9DWjpJnzGHzda2gxj 4/AbZyspb4lFU5NIFE5JK8pJWOvVZKGj4dtbGO4IwqwFxSVdUmj8YR/fIwt+PRfOYnB1 vIZ7znZKWBCFdCOYax0xRT89eFFato1z8tw7qY9JXxNiEpzHSaYNDfOMOj1Y+BOJ2B+S ouOTIkdUVsqcTZ/eNzVupC3e+QiPyurffelRNVI5iI5b0w+RW2aV5udrnA+AcTXiF6tA 2hLpxYW1aK1LuOoIOrS6dXzdsT+lfpKnZbbf/BTwP9X1N1yNvRwxci5XnhNU2b0xma6B AXlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=RTjxcppQAbfVyngMb75/b95cnZU/uXGArgKbV9bk8Ao=; b=ettzaOOuYkeRzk97n0lgilR7m0XJT7pc5KqYHWEmbWbzzbkAIwSDR1wYbqTpcAxNE9 fA4Qi4G6mqaooQnKPFJgxBuKw7QHI162J/A5ORcIawC8ZRkJjnQG+ssR04LiuWNlH3Fh ucW3r11hXzmLRLBVTQgRRDMvZjmL3vgN5Xk0ajHwgpD9Y8j8YcJzjiQgIvr0Cys2/ptM hTItCC39/jK2hiGjFbaS0qj7iIOIBzqTahpRhdbSpU+Or17It+yc19/Da24ipFOwjZV/ QyNwhLXiTZcIg1PXepLTaLlyZ7hk2xsPU0vhOT2MvMWoWALR/3+tW3CDatSoAh5ls9AU RIPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a18si9579365edn.607.2020.06.27.18.01.43; Sat, 27 Jun 2020 18:02:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726836AbgF1A7J (ORCPT + 99 others); Sat, 27 Jun 2020 20:59:09 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:6840 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726101AbgF1A7I (ORCPT ); Sat, 27 Jun 2020 20:59:08 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 8ECEB9B8377CC198B1C8; Sun, 28 Jun 2020 08:59:06 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.487.0; Sun, 28 Jun 2020 08:58:56 +0800 From: Xiaofei Tan To: , , , , CC: , Xiaofei Tan Subject: [PATCH] arm/xen: remove the unused macro GRANT_TABLE_PHYSADDR Date: Sun, 28 Jun 2020 08:57:06 +0800 Message-ID: <1593305826-28279-1-git-send-email-tanxiaofei@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following sparse warning: arch/arm64/xen/../../arm/xen/enlighten.c:244: warning: macro "GRANT_TABLE_PHYSADDR" is not used [-Wunused-macros] It is an isolated macro, and should be removed when its last user was deleted in the following commit 3cf4095d7446 ("arm/xen: Use xen_xlate_map_ballooned_pages to setup grant table") Signed-off-by: Xiaofei Tan --- arch/arm/xen/enlighten.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c index fd4e1ce1..e93145d 100644 --- a/arch/arm/xen/enlighten.c +++ b/arch/arm/xen/enlighten.c @@ -241,7 +241,6 @@ static int __init fdt_find_hyper_node(unsigned long node, const char *uname, * see Documentation/devicetree/bindings/arm/xen.txt for the * documentation of the Xen Device Tree format. */ -#define GRANT_TABLE_PHYSADDR 0 void __init xen_early_init(void) { of_scan_flat_dt(fdt_find_hyper_node, NULL); -- 2.7.4