Skip to content

Commit caef73c

Browse files
Xiaofei Tansstabellini
authored andcommitted
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 3cf4095 ("arm/xen: Use xen_xlate_map_ballooned_pages to setup grant table") Signed-off-by: Xiaofei Tan <[email protected]> Reviewed-by: Stefano Stabellini <[email protected]> Signed-off-by: Stefano Stabellini <[email protected]>
1 parent a952f64 commit caef73c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/arm/xen/enlighten.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,6 @@ static int __init fdt_find_hyper_node(unsigned long node, const char *uname,
241241
* see Documentation/devicetree/bindings/arm/xen.txt for the
242242
* documentation of the Xen Device Tree format.
243243
*/
244-
#define GRANT_TABLE_PHYSADDR 0
245244
void __init xen_early_init(void)
246245
{
247246
of_scan_flat_dt(fdt_find_hyper_node, NULL);

0 commit comments

Comments
 (0)