ia64/xen-unstable

changeset 19625:d8d0f32090cb

gnttab: Remove unused per-domain map_count field

Signed-off-by: Steven Smith <steven.smith@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue May 19 23:30:32 2009 +0100 (2009-05-19)
parents 6e286d08c4a9
children 145e49b8574c
files xen/common/grant_table.c xen/include/xen/grant_table.h
line diff
     1.1 --- a/xen/common/grant_table.c	Tue May 19 23:28:25 2009 +0100
     1.2 +++ b/xen/common/grant_table.c	Tue May 19 23:30:32 2009 +0100
     1.3 @@ -119,7 +119,6 @@ static inline int
     1.4      if ( unlikely((h = t->maptrack_head) == (t->maptrack_limit - 1)) )
     1.5          return -1;
     1.6      t->maptrack_head = maptrack_entry(t, h).ref;
     1.7 -    t->map_count++;
     1.8      return h;
     1.9  }
    1.10  
    1.11 @@ -129,7 +128,6 @@ put_maptrack_handle(
    1.12  {
    1.13      maptrack_entry(t, handle).ref = t->maptrack_head;
    1.14      t->maptrack_head = handle;
    1.15 -    t->map_count--;
    1.16  }
    1.17  
    1.18  static inline int
     2.1 --- a/xen/include/xen/grant_table.h	Tue May 19 23:28:25 2009 +0100
     2.2 +++ b/xen/include/xen/grant_table.h	Tue May 19 23:30:32 2009 +0100
     2.3 @@ -91,7 +91,6 @@ struct grant_table {
     2.4      struct grant_mapping **maptrack;
     2.5      unsigned int          maptrack_head;
     2.6      unsigned int          maptrack_limit;
     2.7 -    unsigned int          map_count;
     2.8      /* Lock protecting updates to active and shared grant tables. */
     2.9      spinlock_t            lock;
    2.10  };