]> git.baikalelectronics.ru Git - kernel.git/commit
arm/xen: remove the unused macro GRANT_TABLE_PHYSADDR
authorXiaofei Tan <tanxiaofei@huawei.com>
Sun, 28 Jun 2020 00:57:06 +0000 (08:57 +0800)
committerStefano Stabellini <sstabellini@kernel.org>
Mon, 29 Jun 2020 23:16:06 +0000 (16:16 -0700)
commit09aaf45a5d9604a6f69b34ed64edf3e2b61bda22
tree19d918fac35e482cdda73b4851985b3f85f9ecd1
parent7f5ad76087f8a7c7024e3c035ba0c36fda3a68b2
arm/xen: remove the unused macro GRANT_TABLE_PHYSADDR

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 8791ca795b38 ("arm/xen: Use
xen_xlate_map_ballooned_pages to setup grant table")

Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
arch/arm/xen/enlighten.c