Messages in this thread | | | Date | Wed, 4 Jan 2023 09:31:36 +0100 | Subject | Re: [PATCH] x86/xen: Remove the unused function p2m_top_mfn_init() | From | Jan Beulich <> |
| |
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
| |