From nobody Thu Apr 25 22:52:56 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1593319331; cv=none; d=zohomail.com; s=zohoarc; b=YK5/SPVuIE878VXBXYHrehv6+w4Sw1fPcrE258xhesSn30p9kk9H4bzpDJQLVStXk1v789pfb4WLnGv+Ab5qJnj2I9ktw3SVJqBivuzGq4ytoS+Phyd9uo9PDN7WoRbUaTputWOBLm238rQXov4OYOY2EpJ9Zj6bLWjIvzs29vo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1593319331; h=Content-Type:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=RTjxcppQAbfVyngMb75/b95cnZU/uXGArgKbV9bk8Ao=; b=lsqhJL6lLAHrcyXMOxniGictYsbuUHk8wA7pZ6qNvbESLmfrnUyWsq/pktGD2ASqmtiuIb/+/vor04Cd4RVXgBnluZ90zxczy/QdAe9Tb3uqF5GkP1ganlHu6t4BRw/6YnyN8Q4/VxTQaBxqPj/9hKCFo0kxKwb8upYOeZU8HMs= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1593319330840921.8677556789214; Sat, 27 Jun 2020 21:42:10 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jpP8T-0000EM-Ft; Sun, 28 Jun 2020 04:41:45 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jpLf7-0005Vm-60 for xen-devel@lists.xenproject.org; Sun, 28 Jun 2020 00:59:13 +0000 Received: from huawei.com (unknown [45.249.212.190]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 9206cefa-b8da-11ea-8425-12813bfff9fa; Sun, 28 Jun 2020 00:59:10 +0000 (UTC) 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 X-Inumbo-ID: 9206cefa-b8da-11ea-8425-12813bfff9fa From: Xiaofei Tan To: , , , , 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 X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected X-Mailman-Approved-At: Sun, 28 Jun 2020 04:41:44 +0000 X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Xiaofei Tan , linuxarm@huawei.com Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 Reviewed-by: Stefano Stabellini --- 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 nod= e, 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); --=20 2.7.4