[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] x86/xen: Remove the unused function p2m_top_mfn_init()
- To: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Wed, 4 Jan 2023 09:31:36 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=z41OvX2AvLdrMyeP19C5M5ObnBSWq+4jnWayoWtdC5o=; b=We773hljTbjK8ZKrA3JZDlbadZIFZxVjsQR7qKoo234ApGdQiAEVdblUMYajdWXphjSJGmOw6YkENYNWTVa+7lSbjEbD9g2qv5s/NeY7Qiwd9/EzaN9IglfGcxGSpVvBleg0cZNDDPXg16b50Eln29OHuVVRRD2yF/Mvc1BJW+7iod0nRiB4+vgdAFDvyprD3GT4aKKjuVytS2YGLTGY78WO4Lj80Co8KAWfvdYie30n9IhwNGDpkAzd9e0JOZx2eDXni8RlW2BcFv6LLf6mcl6dVkx4DH1AszCA1rStOb7oiigI8jAw+yvg5FLHvw48IEihM+DG8YxyxS0vc9jxaQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AhmVTYpDTRaBjXq/UucI1FyAs2XNrVS6bLwWz3aShLhOjYoEkr8tP1c0M43vNP/la8Qv9/IkDrEsdiO4mOgXrIozrLcRZYrEgsPQNpftS9TAAnLY77tQSKi3Yl4kg92v/P/6iOhJTfU4cZinL5dKS/6wuUd2uUeWYDiyzv0E5pimdQsAyqzJ/5I505q+NPjnp0ua+2HzxA9Ipu00q+2y/ZCPgZGu7mKRXhdO4mK7Bong8MaBJE+ilYJdsgpJJpYYOySdI5FhrUsEPwF3MyCzHidfhq1pop9+eDa0kRfhdE29w2SMtinTOFUeo1nuBcTur+aLui1G77xP3Sh6ARAY5w==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: boris.ostrovsky@xxxxxxxxxx, tglx@xxxxxxxxxxxxx, mingo@xxxxxxxxxx, bp@xxxxxxxxx, dave.hansen@xxxxxxxxxxxxxxx, x86@xxxxxxxxxx, hpa@xxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>, jgross@xxxxxxxx
- Delivery-date: Wed, 04 Jan 2023 08:31:40 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 27.12.2022 09:21, Jiapeng Chong wrote:
> The function p2m_top_mfn_init is defined in the p2m.c file,
> but not called elsewhere, so remove this unused function.
This and the title are wrong - p2m_top_mfn_init() is used by
xen_build_mfn_list_list().
> arch/x86/xen/p2m.c:137:24: warning: unused function 'p2m_index'.
Whereas this and the actual code change look correct to me.
Jan
|