gnttab: Remove unused per-domain map_count field

Signed-off-by: Steven Smith <steven.smith@eu.citrix.com>
This commit is contained in:
Keir Fraser committed 2009-05-19 23:30:32 +01:00
1 parent 9731212f50
commit 03cd09e044
2 files changed
-3

No files matched your search

-2
View File
@@ -119,7 +119,6 @@ __get_maptrack_handle(
if ( unlikely((h = t->maptrack_head) == (t->maptrack_limit - 1)) )
return -1;
t->maptrack_head = maptrack_entry(t, h).ref;
t->map_count++;
return h;
}
@@ -129,7 +128,6 @@ put_maptrack_handle(
{
maptrack_entry(t, handle).ref = t->maptrack_head;
t->maptrack_head = handle;
t->map_count--;
}
static inline int
-1
View File
@@ -91,7 +91,6 @@ struct grant_table {
struct grant_mapping **maptrack;
unsigned int maptrack_head;
unsigned int maptrack_limit;
unsigned int map_count;
/* Lock protecting updates to active and shared grant tables. */
spinlock_t lock;
};
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.