[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] gnttab: Remove unused per-domain map_count field
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1242772232 -3600 # Node ID d8d0f32090cb04ef6f81db8bc4ccdb9fa6113bf9 # Parent 6e286d08c4a934491df37a00084bb78ce8f4c000 gnttab: Remove unused per-domain map_count field Signed-off-by: Steven Smith <steven.smith@xxxxxxxxxxxxx> --- xen/common/grant_table.c | 2 -- xen/include/xen/grant_table.h | 1 - 2 files changed, 3 deletions(-) diff -r 6e286d08c4a9 -r d8d0f32090cb xen/common/grant_table.c --- a/xen/common/grant_table.c Tue May 19 23:28:25 2009 +0100 +++ b/xen/common/grant_table.c Tue May 19 23:30:32 2009 +0100 @@ -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 diff -r 6e286d08c4a9 -r d8d0f32090cb xen/include/xen/grant_table.h --- a/xen/include/xen/grant_table.h Tue May 19 23:28:25 2009 +0100 +++ b/xen/include/xen/grant_table.h Tue May 19 23:30:32 2009 +0100 @@ -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; }; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |