Skip to contentSkip to conversation

gnttab: remove unused MAPTRACK_MAX_ENTRIES define

PATCH New Matthew Daley 1 participant 1 message Jun 10, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gnttab: remove unused MAPTRACK_MAX_ENTRIES define

The maximum number of grant mappings is given by max_nr_maptrack_frames() as of commit 5ce8faf, not this unused define.

---
 xen/include/xen/grant_table.h |    3 ---
 1 file changed, 3 deletions(-)
xen/include/xen/grant_table.h +0 -3
index 0820da1..5941191 100644
@@ -64,9 +64,6 @@ struct grant_mapping {
     domid_t  domid;         /* granting domain */
 };
 
-/* Fairly arbitrary. [POLICY] */
-#define MAPTRACK_MAX_ENTRIES 16384
-
 /* Per-domain grant information. */
 struct grant_table {
     /* Table size. Number of frames shared with guest */
Signature · 1 line
1.7.10.4