Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 3cf4095d7446 ("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>

authored by

Xiaofei Tan and committed by
Stefano Stabellini
caef73cf a952f64d

-1
-1
arch/arm/xen/enlighten.c
··· 241 241 * see Documentation/devicetree/bindings/arm/xen.txt for the 242 242 * documentation of the Xen Device Tree format. 243 243 */ 244 - #define GRANT_TABLE_PHYSADDR 0 245 244 void __init xen_early_init(void) 246 245 { 247 246 of_scan_flat_dt(fdt_find_hyper_node, NULL);