[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 1/2] xen/arm: Remove the define INVALID_GFN from arch-arm/grant_table.h



The define INVALID_GFN is misplaced in arch-arm/grant_table.h and is
never used in neither in ARM nor in the common code.

Therefore we can safely remove it.

Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx>
---
 xen/include/asm-arm/grant_table.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/xen/include/asm-arm/grant_table.h 
b/xen/include/asm-arm/grant_table.h
index 0edad67..88ee3c6 100644
--- a/xen/include/asm-arm/grant_table.h
+++ b/xen/include/asm-arm/grant_table.h
@@ -3,7 +3,6 @@
 
 #include <xen/grant_table.h>
 
-#define INVALID_GFN (-1UL)
 #define INITIAL_NR_GRANT_FRAMES 1
 
 void gnttab_clear_flag(unsigned long nr, uint16_t *addr);
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.