x86/xen: Remove the unused function p2m_index()
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Thu, 5 Jan 2023 09:01:41 +0000 (17:01 +0800)
committerJuergen Gross <jgross@suse.com>
Mon, 9 Jan 2023 06:54:28 +0000 (07:54 +0100)
commit37c1785609833e626d344047a84e272b7879b2c3
treef9411206f5da27164dc99f7a3c0d675be37949f4
parent7cffcade57a429667447c4f41d8414bbcf1b3aaa
x86/xen: Remove the unused function p2m_index()

The function p2m_index is defined in the p2m.c file, but not called
elsewhere, so remove this unused function.

arch/x86/xen/p2m.c:137:24: warning: unused function 'p2m_index'.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3557
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20230105090141.36248-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/p2m.c